aboutsummaryrefslogtreecommitdiff
path: root/lib/views/main_view.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/views/main_view.dart')
-rw-r--r--lib/views/main_view.dart3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/views/main_view.dart b/lib/views/main_view.dart
index 97ad04e..759e423 100644
--- a/lib/views/main_view.dart
+++ b/lib/views/main_view.dart
@@ -33,7 +33,8 @@ class _MainViewState extends State<MainView> with SingleTickerProviderStateMixin
super.initState();
getOpenFileUrl();
WidgetsBinding.instance.addObserver(this);
- _tabController = TabController(length: 2, vsync: this);
+ _tabController = TabController(length: 2, vsync: this, initialIndex: 1);
+ // TODO: Make initialIndex a setting and maybe remember during app use
}
@override