diff --git a/packages/neon/lib/src/utils/theme.dart b/packages/neon/lib/src/utils/theme.dart index 6fb4390f..f79df05f 100644 --- a/packages/neon/lib/src/utils/theme.dart +++ b/packages/neon/lib/src/utils/theme.dart @@ -25,13 +25,15 @@ ThemeData getThemeFromNextcloudTheme( } final oledBackgroundOverride = selectBrightness == Brightness.dark && oledAsDark ? Colors.black : null; + final keepOriginalAccentColorOverride = keepOriginalAccentColor ? primaryColor : null; final colorScheme = ColorScheme.fromSeed( seedColor: primaryColor, brightness: selectBrightness, ).copyWith( background: oledBackgroundOverride, surface: oledBackgroundOverride, - primary: keepOriginalAccentColor ? primaryColor : null, + primary: keepOriginalAccentColorOverride, + secondary: keepOriginalAccentColorOverride, ); return ThemeData(