Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
andannn committed Jul 11, 2024
1 parent 8871d5d commit 3bb6591
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/feature/aniflow_home/ani_flow_home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ class _AniFlowAppScaffoldState extends State<AniFlowAppScaffold>
{required List<TopLevelNavigation> navigationList,
required TopLevelNavigation selected,
required Function(TopLevelNavigation) onNavigateToDestination}) {
final currentIndex = TopLevelNavigation.values.indexOf(selected);
final currentIndex = navigationList.indexOf(selected);
return NavigationBar(
destinations: navigationList
.map(
Expand All @@ -238,7 +238,7 @@ class _AniFlowAppScaffoldState extends State<AniFlowAppScaffold>
.toList(),
onDestinationSelected: (index) {
if (currentIndex != index) {
onNavigateToDestination(_topLevelNavigationList[index]);
onNavigateToDestination(navigationList[index]);
}
},
selectedIndex: currentIndex,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 0.1.19+20
version: 0.1.20+21

environment:
sdk: '>=3.0.6 <4.0.0'
Expand Down

0 comments on commit 3bb6591

Please sign in to comment.