This commit is contained in:
Austin Huang 2021-06-04 16:02:29 -04:00
parent bcfe4819cb
commit 696a8c9c61
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
10 changed files with 17 additions and 10 deletions

View File

@ -174,6 +174,13 @@ public final class FollowViewerFragment extends Fragment implements SwipeRefresh
onRefresh();
}
@Override
public void onResume() {
super.onResume();
setTitle(username);
setSubtitle(type);
}
private void setTitle(final String title) {
final ActionBar actionBar = fragmentActivity.getSupportActionBar();
if (actionBar == null) return;

View File

@ -211,6 +211,6 @@
<fragment
android:id="@+id/postViewFragment"
android:name="awais.instagrabber.fragments.PostViewV2Fragment"
android:label="Post"
android:label="@string/post"
tools:layout="@layout/dialog_post_view" />
</navigation>

View File

@ -150,6 +150,6 @@
<fragment
android:id="@+id/postViewFragment"
android:name="awais.instagrabber.fragments.PostViewV2Fragment"
android:label="Post"
android:label="@string/post"
tools:layout="@layout/dialog_post_view" />
</navigation>

View File

@ -154,6 +154,6 @@
<fragment
android:id="@+id/postViewFragment"
android:name="awais.instagrabber.fragments.PostViewV2Fragment"
android:label="Post"
android:label="@string/post"
tools:layout="@layout/dialog_post_view" />
</navigation>

View File

@ -125,6 +125,6 @@
<fragment
android:id="@+id/postViewFragment"
android:name="awais.instagrabber.fragments.PostViewV2Fragment"
android:label="Post"
android:label="@string/post"
tools:layout="@layout/dialog_post_view" />
</navigation>

View File

@ -124,6 +124,6 @@
<fragment
android:id="@+id/postViewFragment"
android:name="awais.instagrabber.fragments.PostViewV2Fragment"
android:label="Post"
android:label="@string/post"
tools:layout="@layout/dialog_post_view" />
</navigation>

View File

@ -172,5 +172,5 @@
<fragment
android:id="@+id/postViewFragment"
android:name="awais.instagrabber.fragments.PostViewV2Fragment"
android:label="Post" />
android:label="@string/post" />
</navigation>

View File

@ -121,6 +121,6 @@
<fragment
android:id="@+id/postViewFragment"
android:name="awais.instagrabber.fragments.PostViewV2Fragment"
android:label="Post"
android:label="@string/post"
tools:layout="@layout/dialog_post_view" />
</navigation>

View File

@ -177,7 +177,7 @@
<fragment
android:id="@+id/followViewerFragment"
android:name="awais.instagrabber.fragments.FollowViewerFragment"
android:label="Followers"
android:label=""
tools:layout="@layout/fragment_followers_viewer">
<argument
android:name="profileId"
@ -218,6 +218,6 @@
<fragment
android:id="@+id/postViewFragment"
android:name="awais.instagrabber.fragments.PostViewV2Fragment"
android:label="Post"
android:label="@string/post"
tools:layout="@layout/dialog_post_view" />
</navigation>

View File

@ -114,6 +114,6 @@
<fragment
android:id="@+id/postViewFragment"
android:name="awais.instagrabber.fragments.PostViewV2Fragment"
android:label="Post"
android:label="@string/post"
tools:layout="@layout/dialog_post_view" />
</navigation>