refactor: Simplify themes and remove dead code

This commit is contained in:
Christian Pauly 2022-08-19 08:32:08 +02:00
commit 214f0f4805
5 changed files with 23 additions and 85 deletions

View file

@ -25,8 +25,8 @@ class LockScreenState extends State<LockScreen> {
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: FluffyThemes.light(),
darkTheme: FluffyThemes.light(),
theme: FluffyThemes.buildTheme(Brightness.light),
darkTheme: FluffyThemes.buildTheme(Brightness.dark),
localizationsDelegates: L10n.localizationsDelegates,
supportedLocales: L10n.supportedLocales,
home: Builder(