mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-26 12:58:51 +00:00
Fix color scheme
This commit is contained in:
parent
cc760c5a24
commit
6e274fa21a
@ -44,6 +44,7 @@ class _PushNotificationsConfigurationRouteState
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Material(
|
||||
textStyle: TextStyle(color: Colors.white),
|
||||
color: config().splashBackgroundColor,
|
||||
child: Center(
|
||||
child: Padding(
|
||||
@ -63,7 +64,7 @@ class _PushNotificationsConfigurationRouteState
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Spacer(),
|
||||
Icon(Icons.notifications_none),
|
||||
Icon(Icons.notifications_none, color: Colors.white),
|
||||
Spacer(),
|
||||
Text(
|
||||
tr("Comunic can now send you notifications to your device when the application is closed if you want."),
|
||||
@ -170,17 +171,17 @@ class _NotificationOption extends StatelessWidget {
|
||||
? Container()
|
||||
: Theme(
|
||||
data: Theme.of(context).copyWith(
|
||||
splashColor: Colors.transparent,
|
||||
highlightColor: Colors.transparent,
|
||||
),
|
||||
splashColor: Colors.transparent,
|
||||
highlightColor: Colors.transparent),
|
||||
child: ListTile(
|
||||
leading: Radio(
|
||||
value: option,
|
||||
groupValue: current,
|
||||
onChanged: onChanged,
|
||||
fillColor: MaterialStateProperty.all(Colors.white),
|
||||
),
|
||||
title: Text(title),
|
||||
subtitle: Text(description),
|
||||
title: Text(title, style: TextStyle(color: Colors.white)),
|
||||
subtitle: Text(description, style: TextStyle(color: Colors.white)),
|
||||
contentPadding: EdgeInsets.all(0),
|
||||
onTap: () => onChanged(option),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user