Skip to content

Commit 5fc85fa

Browse files
committed
Implemented suggestions
1 parent a2f2d56 commit 5fc85fa

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

app/src/main/java/org/schabi/newpipe/settings/AppearanceSettingsFragment.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ public void onCreatePreferences(final Bundle savedInstanceState, final String ro
4848
final Preference preference = findPreference(nightThemeKey);
4949
if (preference != null) {
5050
preference.setEnabled(false);
51-
preference.setSummary(getString(R.string.night_theme_available));
51+
preference.setSummary(getString(R.string.night_theme_available,
52+
getString(R.string.auto_device_theme_title)));
5253
}
5354
}
5455
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@
714714
<string name="auto_device_theme_title">Automatic (device theme)</string>
715715
<string name="night_theme_summary">Select your favorite night theme — %s</string>
716716
<string name="select_night_theme_toast">You can select your favorite night theme below</string>
717-
<string name="night_theme_available">This option is only available if Automatic (Device Theme) is selected for Theme</string>
717+
<string name="night_theme_available">This option is only available if %s is selected for Theme</string>
718718
<string name="download_has_started">Download has started</string>
719719
<string name="description_select_note">You can now select text inside the description. Note that the page may flicker and links may not be clickable while in selection mode.</string>
720720
<string name="description_select_enable">Enable selecting text in the description</string>

0 commit comments

Comments
 (0)