Skip to content

Commit

Permalink
Extract app theme title to string resource
Browse files Browse the repository at this point in the history
  • Loading branch information
mendhak committed Oct 1, 2021
1 parent 20c9215 commit 39bed91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions gpslogger/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@
<string name="reset_app_summary">This will reset the app, delete any preferences, delete GPSLogger files, and revoke permissions granted to this app. All data will be lost!</string>
<string name="reset_app_title">Reset app</string>

<string name="app_theme_title">App Theme</string>
<string name="app_theme_follow_system">Follow system</string>
<string name="app_theme_light">Light theme</string>
<string name="app_theme_dark">Dark theme</string>
Expand Down
2 changes: 1 addition & 1 deletion gpslogger/src/main/res/xml/pref_general.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<!-- https://www.flaticon.com/free-icon/dark-mode_5262027-->
<ListPreference
android:key="app_theme_setting"
android:title="App Theme"
android:title="@string/app_theme_title"
android:entries="@array/app_theme_options"
android:entryValues="@array/app_theme_values"
android:summary="@string/app_theme_setting"
Expand Down

0 comments on commit 39bed91

Please sign in to comment.