Added darkmode for chat view

This commit is contained in:
2023-05-26 23:16:10 +02:00
parent 9aea09d582
commit 0f259414fb
10 changed files with 248 additions and 78 deletions

View File

@ -22,6 +22,10 @@ class AppTheme extends ChangeNotifier {
}
}
static bool isDarkMode(BuildContext context) {
return Theme.of(context).brightness == Brightness.dark;
}
}
class ThemeModeDisplay {