Browse Source

visual optimizations for the previous commit

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
parent
commit
d326d9e2d7
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 2
      app/src/main/java/awais/instagrabber/fragments/settings/PostPreferencesFragment.java
  2. 4
      app/src/main/res/values/strings.xml

2
app/src/main/java/awais/instagrabber/fragments/settings/PostPreferencesFragment.java

@ -36,7 +36,7 @@ public class PostPreferencesFragment extends BasePreferencesFragment {
final SwitchPreferenceCompat preference = new SwitchPreferenceCompat(context); final SwitchPreferenceCompat preference = new SwitchPreferenceCompat(context);
preference.setKey(Constants.PLAY_IN_BACKGROUND); preference.setKey(Constants.PLAY_IN_BACKGROUND);
preference.setTitle(R.string.post_viewer_background_play); preference.setTitle(R.string.post_viewer_background_play);
preference.setTitle(R.string.post_viewer_background_play_summary);
preference.setSummary(R.string.post_viewer_background_play_summary);
preference.setIconSpaceReserved(false); preference.setIconSpaceReserved(false);
return preference; return preference;
} }

4
app/src/main/res/values/strings.xml

@ -59,8 +59,8 @@
</plurals> </plurals>
<string name="main_posts_following">%s\nFollowing</string> <string name="main_posts_following">%s\nFollowing</string>
<string name="post_viewer_autoplay_video">Autoplay videos</string> <string name="post_viewer_autoplay_video">Autoplay videos</string>
<string name="post_viewer_background_play">Continue to play videos in background</string>
<string name="post_viewer_background_play_summary">When app is not in focus</string>
<string name="post_viewer_background_play">Continue videos in background</string>
<string name="post_viewer_background_play_summary">Do not pause videos when the app is out of focus</string>
<string name="post_viewer_muted_autoplay">Always mute videos</string> <string name="post_viewer_muted_autoplay">Always mute videos</string>
<string name="post_viewer_show_captions">Always show post captions</string> <string name="post_viewer_show_captions">Always show post captions</string>
<string name="post_viewer_download_dialog_title">Select what to download</string> <string name="post_viewer_download_dialog_title">Select what to download</string>

Loading…
Cancel
Save