From cc19e7aeb746b457814bb3281b40d7df2b1280f1 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Fri, 9 Sep 2022 02:07:00 +0200 Subject: [PATCH] neon: Fix app bar text color --- packages/neon/lib/src/utils/theme.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/neon/lib/src/utils/theme.dart b/packages/neon/lib/src/utils/theme.dart index fdad635a..9022e96e 100644 --- a/packages/neon/lib/src/utils/theme.dart +++ b/packages/neon/lib/src/utils/theme.dart @@ -74,7 +74,7 @@ ThemeData getThemeFromNextcloudTheme( ), appBarTheme: AppBarTheme( backgroundColor: primaryColor, - foregroundColor: onPrimaryColor, + foregroundColor: selectBrightness == Brightness.dark ? Colors.white : Colors.black, ), snackBarTheme: SnackBarThemeData( behavior: SnackBarBehavior.floating,