1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-26 00:27:30 +00:00
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(); onRefresh();
} }
@Override
public void onResume() {
super.onResume();
setTitle(username);
setSubtitle(type);
}
private void setTitle(final String title) { private void setTitle(final String title) {
final ActionBar actionBar = fragmentActivity.getSupportActionBar(); final ActionBar actionBar = fragmentActivity.getSupportActionBar();
if (actionBar == null) return; if (actionBar == null) return;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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