aboutsummaryrefslogtreecommitdiff
path: root/lib/main.dart
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-06-02 21:32:04 +0530
committerAkshay Nair <phenax5@gmail.com>2020-06-02 21:35:00 +0530
commit5704e115f13e7f1daf72cb094449cfade6719260 (patch)
tree65fd76f13f26ef1756fbc4c7c68bb9a163d1a74b /lib/main.dart
parent6c4c4a7ed534052b732c3f5c062539cafdcb0c94 (diff)
downloaddaft-launcher-5704e115f13e7f1daf72cb094449cfade6719260.tar.gz
daft-launcher-5704e115f13e7f1daf72cb094449cfade6719260.zip
Pages are not destroyed on swipe
Diffstat (limited to 'lib/main.dart')
-rw-r--r--lib/main.dart2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/main.dart b/lib/main.dart
index dba8ce6..2ad0fb9 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -23,7 +23,7 @@ class MyApp extends StatelessWidget {
title: 'owyn launcher',
home: Scaffold(
body: PageView(
- controller: PageController(),
+ controller: PageController(keepPage: true),
children: [
HomeView(time$, defaultTime: DateTime.now()),
AppsView(),