Skip to content

Commit

Permalink
Changed SwitchPreference to SwitchPreferenceCompat for better integra…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
tom5079 committed Jan 13, 2020
1 parent 48e0ebc commit 9ca891b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/release/output.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":31,"versionName":"4.2-beta2-hotfix2","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":31,"versionName":"4.2","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
10 changes: 5 additions & 5 deletions app/src/main/res/xml/root_preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
app:title="@string/settings_app_version_title"
app:key="app_version"/>

<SwitchPreference
<SwitchPreferenceCompat
app:title="@string/settings_beta"
app:key="beta"/>

Expand Down Expand Up @@ -61,23 +61,23 @@
<PreferenceCategory
app:title="@string/settings_miscellaneous_title">

<SwitchPreference
<SwitchPreferenceCompat
app:key="use_hiyobi"
app:title="@string/settings_use_hiyobi_title"
app:summary="@string/settings_use_hiyobi_summary"/>

<SwitchPreference
<SwitchPreferenceCompat
app:key="security_mode"
app:title="@string/settings_security_mode_title"
app:summary="@string/settings_security_mode_summary"
app:defaultValue="true"/>

<SwitchPreference
<SwitchPreferenceCompat
app:key="dark_mode"
app:title="@string/settings_dark_mode_title"
app:summary="@string/settings_dark_mode_summary"/>

<SwitchPreference
<SwitchPreferenceCompat
app:key="nomedia"
app:title="@string/settings_nomedia_title"
app:summary="@string/settings_nomedia_title"/>
Expand Down

0 comments on commit 9ca891b

Please sign in to comment.