fix: Dark text in cupertinodialogs

This commit is contained in:
Christian Pauly 2021-09-18 11:08:00 +02:00
parent b2417fe1f3
commit e6948d25f2

View File

@ -1,3 +1,4 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:fluffychat/utils/platform_infos.dart';
@ -203,6 +204,9 @@ abstract class FluffyThemes {
),
iconTheme: IconThemeData(color: Colors.white),
),
cupertinoOverrideTheme: const CupertinoThemeData(
textTheme: CupertinoTextThemeData(),
),
);
static Color blackWhiteColor(BuildContext context) =>