mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-10 20:57:25 +01:00
Fix cannot tap to retry in PostFragment. Show correct title in AdvancedPreferenceFragment.
This commit is contained in:
parent
e5750e35b7
commit
bc27f077d6
@ -27,6 +27,7 @@ import ml.docilealligator.infinityforreddit.R;
|
||||
import ml.docilealligator.infinityforreddit.customtheme.CustomThemeWrapper;
|
||||
import ml.docilealligator.infinityforreddit.events.RecreateActivityEvent;
|
||||
import ml.docilealligator.infinityforreddit.settings.AboutPreferenceFragment;
|
||||
import ml.docilealligator.infinityforreddit.settings.AdvancedPreferenceFragment;
|
||||
import ml.docilealligator.infinityforreddit.settings.CustomizeBottomAppBarFragment;
|
||||
import ml.docilealligator.infinityforreddit.settings.CustomizeMainPageTabsFragment;
|
||||
import ml.docilealligator.infinityforreddit.settings.FontPreferenceFragment;
|
||||
@ -107,6 +108,8 @@ public class SettingsActivity extends BaseActivity implements
|
||||
setTitle(R.string.settings_gestures_and_buttons_title);
|
||||
} else if (fragment instanceof PostPreferenceFragment) {
|
||||
setTitle(R.string.settings_category_post_title);
|
||||
} else if (fragment instanceof AdvancedPreferenceFragment) {
|
||||
setTitle(R.string.settings_advanced_master_title);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -4,6 +4,19 @@
|
||||
android:layout_height="match_parent"
|
||||
tools:application="ml.docilealligator.infinityforreddit.fragments.PostFragment">
|
||||
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:id="@+id/swipe_refresh_layout_post_fragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ml.docilealligator.infinityforreddit.customviews.CustomToroContainer
|
||||
android:id="@+id/recycler_view_post_fragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:clipToPadding="false" />
|
||||
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fetch_post_info_linear_layout_post_fragment"
|
||||
android:layout_width="match_parent"
|
||||
@ -30,17 +43,4 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:id="@+id/swipe_refresh_layout_post_fragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ml.docilealligator.infinityforreddit.customviews.CustomToroContainer
|
||||
android:id="@+id/recycler_view_post_fragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:clipToPadding="false" />
|
||||
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
Loading…
Reference in New Issue
Block a user