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