Browse Source

close #1383

renovate/org.robolectric-robolectric-4.x
Austin Huang 3 years ago
parent
commit
696a8c9c61
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 7
      app/src/main/java/awais/instagrabber/fragments/FollowViewerFragment.java
  2. 2
      app/src/main/res/navigation/direct_messages_nav_graph.xml
  3. 2
      app/src/main/res/navigation/discover_nav_graph.xml
  4. 2
      app/src/main/res/navigation/feed_nav_graph.xml
  5. 2
      app/src/main/res/navigation/hashtag_nav_graph.xml
  6. 2
      app/src/main/res/navigation/location_nav_graph.xml
  7. 2
      app/src/main/res/navigation/more_nav_graph.xml
  8. 2
      app/src/main/res/navigation/notification_viewer_nav_graph.xml
  9. 4
      app/src/main/res/navigation/profile_nav_graph.xml
  10. 2
      app/src/main/res/navigation/saved_nav_graph.xml

7
app/src/main/java/awais/instagrabber/fragments/FollowViewerFragment.java

@ -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;

2
app/src/main/res/navigation/direct_messages_nav_graph.xml

@ -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>

2
app/src/main/res/navigation/discover_nav_graph.xml

@ -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>

2
app/src/main/res/navigation/feed_nav_graph.xml

@ -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>

2
app/src/main/res/navigation/hashtag_nav_graph.xml

@ -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>

2
app/src/main/res/navigation/location_nav_graph.xml

@ -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>

2
app/src/main/res/navigation/more_nav_graph.xml

@ -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>

2
app/src/main/res/navigation/notification_viewer_nav_graph.xml

@ -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>

4
app/src/main/res/navigation/profile_nav_graph.xml

@ -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>

2
app/src/main/res/navigation/saved_nav_graph.xml

@ -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>
Loading…
Cancel
Save