This commit is contained in:
Thomas 2022-07-23 11:50:01 +02:00
parent f8e3a54cb2
commit 1dc3d43669
2 changed files with 4 additions and 4 deletions

View file

@ -25,7 +25,7 @@
>
<activity
android:name=".activities.MainActivity"
android:configChanges="orientation|screenSize"
android:configChanges="orientation|screenSize|keyboardHidden|screenLayout|smallestScreenSize"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

View file

@ -577,7 +577,7 @@ public class PinnedTimelineHelper {
}
fragTransaction1.detach(fragmentMastodonTimeline).commit();
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("timelineId", remoteInstance.id);
bundle.putSerializable(Helper.ARG_TIMELINE_TYPE, Timeline.TimeLineEnum.REMOTE);
@ -623,7 +623,7 @@ public class PinnedTimelineHelper {
currentFilter[0] = remoteInstance.filteredWith;
fragTransaction1.detach(fragmentMastodonTimeline).commit();
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("timelineId", remoteInstance.id);
bundle.putString("currentfilter", remoteInstance.filteredWith);
@ -698,7 +698,7 @@ public class PinnedTimelineHelper {
return;
fragTransaction1.detach(fragmentMastodonTimeline).commit();
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("timelineId", remoteInstance.id);
if (currentFilter[0] != null) {