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(
|
return Padding(
|
||||||
padding: const EdgeInsets.all(16),
|
padding: const EdgeInsets.all(16),
|
||||||
child: Theme(
|
child: Theme(
|
||||||
data:
|
data: (prefs?.getBool(
|
||||||
(prefs?.getBool("useDeviceTheme") ??
|
"useDeviceTheme") ??
|
||||||
false)
|
false)
|
||||||
? Theme.of(context)
|
? Theme.of(context)
|
||||||
: ThemeData.from(
|
: ThemeData.from(
|
||||||
colorScheme:
|
colorScheme:
|
||||||
ColorScheme.fromSeed(
|
ColorScheme.fromSeed(
|
||||||
seedColor:
|
seedColor: Colors.black,
|
||||||
Colors.black)),
|
brightness:
|
||||||
|
Theme.of(context)
|
||||||
|
.colorScheme
|
||||||
|
.brightness)),
|
||||||
child: DurationPicker(
|
child: DurationPicker(
|
||||||
duration: Duration(
|
duration: Duration(
|
||||||
seconds: int.parse(prefs!
|
seconds: int.parse(prefs!
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue