Bladeren bron

Fix dialog button colors

vishnukvmd 3 jaren geleden
bovenliggende
commit
1fc51a84d6
1 gewijzigde bestanden met toevoegingen van 12 en 2 verwijderingen
  1. 12 2
      lib/ui/share_collection_widget.dart

+ 12 - 2
lib/ui/share_collection_widget.dart

@@ -375,7 +375,12 @@ class _SharingDialogState extends State<SharingDialog> {
           Text("sharing is not permitted for free accounts, please subscribe"),
       actions: [
         TextButton(
-          child: Text("subscribe"),
+          child: Text(
+            "subscribe",
+            style: TextStyle(
+              color: Theme.of(context).buttonColor,
+            ),
+          ),
           onPressed: () {
             Navigator.of(context).pushReplacement(
               MaterialPageRoute(
@@ -387,7 +392,12 @@ class _SharingDialogState extends State<SharingDialog> {
           },
         ),
         TextButton(
-          child: Text("ok"),
+          child: Text(
+            "ok",
+            style: TextStyle(
+              color: Colors.white,
+            ),
+          ),
           onPressed: () {
             Navigator.of(context, rootNavigator: true).pop();
           },