From f17eac14b9bcd47caa2daf2323ea949e3121bea2 Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Sat, 19 Jul 2025 18:06:38 +0200 Subject: [PATCH] Changed var name --- lib/core/custom_theme.dart | 2 +- lib/presentation/views/round_view.dart | 4 ++-- lib/presentation/views/tab_view.dart | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/custom_theme.dart b/lib/core/custom_theme.dart index e123779..bfc4f3c 100644 --- a/lib/core/custom_theme.dart +++ b/lib/core/custom_theme.dart @@ -4,7 +4,7 @@ class CustomTheme { static Color white = CupertinoColors.white; static Color primaryColor = CupertinoColors.systemGreen; static Color backgroundColor = const Color(0xFF101010); - static Color mainElementbackgroundColor = CupertinoColors.darkBackgroundGray; + static Color mainElementBackgroundColor = CupertinoColors.darkBackgroundGray; static Color playerTileColor = CupertinoColors.secondaryLabel; static Color buttonBackgroundColor = const Color(0xFF202020); diff --git a/lib/presentation/views/round_view.dart b/lib/presentation/views/round_view.dart index 82af6dc..f99380e 100644 --- a/lib/presentation/views/round_view.dart +++ b/lib/presentation/views/round_view.dart @@ -118,7 +118,7 @@ class _RoundViewState extends State { height: 60, child: CupertinoSegmentedControl( unselectedColor: - CustomTheme.mainElementbackgroundColor, + CustomTheme.mainElementBackgroundColor, selectedColor: CustomTheme.primaryColor, groupValue: _caboPlayerIndex, children: Map.fromEntries(widget.gameSession.players @@ -261,7 +261,7 @@ class _RoundViewState extends State { return Container( height: 80, padding: const EdgeInsets.only(bottom: 20), - color: CustomTheme.mainElementbackgroundColor, + color: CustomTheme.mainElementBackgroundColor, child: Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ diff --git a/lib/presentation/views/tab_view.dart b/lib/presentation/views/tab_view.dart index 360737c..4b757fa 100644 --- a/lib/presentation/views/tab_view.dart +++ b/lib/presentation/views/tab_view.dart @@ -17,7 +17,7 @@ class _TabViewState extends State { Widget build(BuildContext context) { return CupertinoTabScaffold( tabBar: CupertinoTabBar( - backgroundColor: CustomTheme.mainElementbackgroundColor, + backgroundColor: CustomTheme.mainElementBackgroundColor, iconSize: 27, height: 55, items: [