diff --git a/lib/app/(public)/home_page.dart b/lib/app/(public)/home_page.dart index 869cb04..7a8e136 100644 --- a/lib/app/(public)/home_page.dart +++ b/lib/app/(public)/home_page.dart @@ -57,7 +57,7 @@ class _HomePageState extends State { List get games => filteredGamesState; DateTime? _lastOpenGameAt; - var hasRailsExtanded = false; + var hasRailsExtended = false; Timer? _timer; ColorScheme? newColorScheme; Brightness? newBrightness; @@ -161,7 +161,7 @@ class _HomePageState extends State { void switchRail() { sounds.openRail(); setState(() { - hasRailsExtanded = !hasRailsExtanded; + hasRailsExtended = !hasRailsExtended; }); } @@ -255,7 +255,7 @@ class _HomePageState extends State { final config = gameConfigState.value; const itemWidth = 140.0; - final railsMinWidth = hasRailsExtanded ? 256.0 : 72.0; + final railsMinWidth = hasRailsExtended ? 256.0 : 72.0; final gridWidth = width - railsMinWidth; @@ -286,7 +286,7 @@ class _HomePageState extends State { backgroundColor: Colors.transparent, leading: IconButton( icon: AnimatedMenuLeading( - isCloseMenu: hasRailsExtanded, + isCloseMenu: hasRailsExtended, icon: AnimatedIcons.menu_close, ), onPressed: switchRail, @@ -307,7 +307,7 @@ class _HomePageState extends State { child: NavigationRail( backgroundColor: Colors.transparent, indicatorColor: colorScheme.surfaceVariant, - extended: hasRailsExtanded, + extended: hasRailsExtended, onDestinationSelected: (value) { handlerDestinationSelect(value); },