We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 788387c commit fd07e95Copy full SHA for fd07e95
2 files changed
src/keepass2android-app/Resources/values/strings.xml
@@ -1249,7 +1249,7 @@
1249
<string-array name="design_options">
1250
<item>Light</item>
1251
<item>Dark</item>
1252
- <item>Material You</item>
+ <item>MaterialYou</item>
1253
<item>System settings</item>
1254
</string-array>
1255
<string-array name="design_values">
src/keepass2android-app/Utils/ActivityDesign.cs
@@ -66,6 +66,11 @@ public void ApplyTheme()
66
AppCompatDelegate.DefaultNightMode = _currentThemeId.Value;
67
_secureWindow = SecureWindowPref();
68
69
+ if (IsMaterialYouEnabled && Build.VERSION.SdkInt >= BuildVersionCodes.S)
70
+ {
71
+ _activity.SetTheme(Resource.Style.Kp2aTheme_MaterialYou);
72
+ }
73
+
74
_currentIconSet = PreferenceManager.GetDefaultSharedPreferences(_activity)
75
.GetString("IconSetKey", _activity.PackageName);
76
}
0 commit comments