Add option to color system bar icons automatically
This commit is contained in:
@@ -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)
|
||||
)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user