Skip to content

Commit 4561023

Browse files
committed
Update main.dart
1 parent b6e8f7f commit 4561023

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

lib/main.dart

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -114,18 +114,14 @@ class MyApp extends StatelessWidget {
114114
VGuard(
115115
beforeEnter: (stackedRoutes) async {
116116
GetIt.I<DrawerProvider>().title = 'Notes';
117-
if (GetIt.I<BulletinProvider>()
118-
.bulletin
119-
.branches
120-
.isEmpty) {
121-
Future.delayed(
122-
const Duration(
123-
milliseconds: 500,
124-
),
125-
() => GetIt.I<GlobalKey<RefreshIndicatorState>>()
126-
.currentState
127-
?.show());
128-
}
117+
118+
Future.delayed(
119+
const Duration(
120+
milliseconds: 500,
121+
),
122+
() => GetIt.I<GlobalKey<RefreshIndicatorState>>()
123+
.currentState
124+
?.show());
129125
},
130126
stackedRoutes: [
131127
VWidget(

0 commit comments

Comments
 (0)