Added brightness to keep alive popup
This commit is contained in:
parent
43d085ae8e
commit
6c84f51267
|
@ -248,15 +248,18 @@ class _ScreenSettingsInterfaceState extends State<ScreenSettingsInterface> {
|
|||
return Padding(
|
||||
padding: const EdgeInsets.all(16),
|
||||
child: Theme(
|
||||
data:
|
||||
(prefs?.getBool("useDeviceTheme") ??
|
||||
false)
|
||||
? Theme.of(context)
|
||||
: ThemeData.from(
|
||||
colorScheme:
|
||||
ColorScheme.fromSeed(
|
||||
seedColor:
|
||||
Colors.black)),
|
||||
data: (prefs?.getBool(
|
||||
"useDeviceTheme") ??
|
||||
false)
|
||||
? Theme.of(context)
|
||||
: ThemeData.from(
|
||||
colorScheme:
|
||||
ColorScheme.fromSeed(
|
||||
seedColor: Colors.black,
|
||||
brightness:
|
||||
Theme.of(context)
|
||||
.colorScheme
|
||||
.brightness)),
|
||||
child: DurationPicker(
|
||||
duration: Duration(
|
||||
seconds: int.parse(prefs!
|
||||
|
|
Loading…
Reference in New Issue