Add option to color system bar icons automatically

This commit is contained in:
MM20
2022-10-21 17:20:09 +02:00
parent 62f4cb6e0e
commit 9db2372253
21 changed files with 99 additions and 75 deletions
@@ -144,8 +144,8 @@ fun createFactorySettings(context: Context): Settings {
.setEasterEgg(false)
.setSystemBars(
Settings.SystemBarsSettings.newBuilder()
.setLightNavBar(false)
.setLightStatusBar(false)
.setNavBarColor(Settings.SystemBarsSettings.SystemBarColors.Light)
.setStatusBarColor(Settings.SystemBarsSettings.SystemBarColors.Light)
.setHideStatusBar(false)
.setHideNavBar(false)
)
+10 -2
View File
@@ -238,8 +238,16 @@ message Settings {
bool easter_egg = 22;
message SystemBarsSettings {
bool lightStatusBar = 1;
bool lightNavBar = 2;
enum SystemBarColors {
// Light icons
Auto = 0;
// Dark icons
Dark = 1;
// Wallpaper based
Light = 2;
}
SystemBarColors statusBarColor = 1;
SystemBarColors navBarColor = 2;
bool hideStatusBar = 3;
bool hideNavBar = 4;
}