1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-26 12:58:51 +00:00

Fix color scheme

This commit is contained in:
Pierre HUBERT 2021-04-13 19:06:31 +02:00
parent cc760c5a24
commit 6e274fa21a

View File

@ -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),
),