From 2b44df577dc06fb3484d4d4a4e20094e809f948b Mon Sep 17 00:00:00 2001 From: Jacob Moura Date: Tue, 16 Jan 2024 14:55:33 -0300 Subject: [PATCH] fix name --- lib/app/(public)/home_page.dart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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); },