chore: Make app ready for flutter 1 22

This commit is contained in:
Christian Pauly 2020-10-02 08:56:28 +02:00
commit 3910dac42c
12 changed files with 647 additions and 34 deletions

View file

@ -114,7 +114,9 @@ final ThemeData amoledTheme = ThemeData.dark().copyWith(
Color chatListItemColor(BuildContext context, bool activeChat) =>
Theme.of(context).brightness == Brightness.light
? activeChat ? Color(0xFFE8E8E8) : Colors.white
? activeChat
? Color(0xFFE8E8E8)
: Colors.white
: activeChat
? ThemeSwitcherWidget.of(context).amoledEnabled
? Color(0xff121212)