forked from mirrors/Fedilab
Fix issue #273
This commit is contained in:
parent
f8e3a54cb2
commit
1dc3d43669
2 changed files with 4 additions and 4 deletions
|
@ -25,7 +25,7 @@
|
||||||
>
|
>
|
||||||
<activity
|
<activity
|
||||||
android:name=".activities.MainActivity"
|
android:name=".activities.MainActivity"
|
||||||
android:configChanges="orientation|screenSize"
|
android:configChanges="orientation|screenSize|keyboardHidden|screenLayout|smallestScreenSize"
|
||||||
android:exported="true">
|
android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|
|
@ -577,7 +577,7 @@ public class PinnedTimelineHelper {
|
||||||
}
|
}
|
||||||
fragTransaction1.detach(fragmentMastodonTimeline).commit();
|
fragTransaction1.detach(fragmentMastodonTimeline).commit();
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putString(Helper.ARG_REMOTE_INSTANCE, remoteInstance.host != null ? remoteInstance.host : "");
|
bundle.putSerializable(Helper.ARG_REMOTE_INSTANCE, pinned);
|
||||||
bundle.putString("instanceType", remoteInstance.type.getValue());
|
bundle.putString("instanceType", remoteInstance.type.getValue());
|
||||||
bundle.putString("timelineId", remoteInstance.id);
|
bundle.putString("timelineId", remoteInstance.id);
|
||||||
bundle.putSerializable(Helper.ARG_TIMELINE_TYPE, Timeline.TimeLineEnum.REMOTE);
|
bundle.putSerializable(Helper.ARG_TIMELINE_TYPE, Timeline.TimeLineEnum.REMOTE);
|
||||||
|
@ -623,7 +623,7 @@ public class PinnedTimelineHelper {
|
||||||
currentFilter[0] = remoteInstance.filteredWith;
|
currentFilter[0] = remoteInstance.filteredWith;
|
||||||
fragTransaction1.detach(fragmentMastodonTimeline).commit();
|
fragTransaction1.detach(fragmentMastodonTimeline).commit();
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putString(Helper.ARG_REMOTE_INSTANCE, remoteInstance.host != null ? remoteInstance.host : "");
|
bundle.putSerializable(Helper.ARG_REMOTE_INSTANCE, pinned);
|
||||||
bundle.putString("instanceType", remoteInstance.type.getValue());
|
bundle.putString("instanceType", remoteInstance.type.getValue());
|
||||||
bundle.putString("timelineId", remoteInstance.id);
|
bundle.putString("timelineId", remoteInstance.id);
|
||||||
bundle.putString("currentfilter", remoteInstance.filteredWith);
|
bundle.putString("currentfilter", remoteInstance.filteredWith);
|
||||||
|
@ -698,7 +698,7 @@ public class PinnedTimelineHelper {
|
||||||
return;
|
return;
|
||||||
fragTransaction1.detach(fragmentMastodonTimeline).commit();
|
fragTransaction1.detach(fragmentMastodonTimeline).commit();
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putString(Helper.ARG_REMOTE_INSTANCE, remoteInstance.host != null ? remoteInstance.host : "");
|
bundle.putSerializable(Helper.ARG_REMOTE_INSTANCE, pinned);
|
||||||
bundle.putString("instanceType", remoteInstance.type.getValue());
|
bundle.putString("instanceType", remoteInstance.type.getValue());
|
||||||
bundle.putString("timelineId", remoteInstance.id);
|
bundle.putString("timelineId", remoteInstance.id);
|
||||||
if (currentFilter[0] != null) {
|
if (currentFilter[0] != null) {
|
||||||
|
|
Loading…
Reference in a new issue