added comments
This commit is contained in:
parent
b31805518b
commit
1b72009cfb
|
@ -258,7 +258,8 @@ class _HomeWidgetState extends State<HomeWidget> {
|
|||
return UserDetailsStateWidget(
|
||||
child: WillPopScope(
|
||||
child: Scaffold(
|
||||
drawerEnableOpenDragGesture: false,
|
||||
drawerEnableOpenDragGesture:
|
||||
false, //using a hack instead of enabling this as enabling this will create other problems
|
||||
drawer: ConstrainedBox(
|
||||
constraints: const BoxConstraints(maxWidth: 428),
|
||||
child: Drawer(
|
||||
|
|
|
@ -156,6 +156,7 @@ class _SyncStatusWidgetState extends State<SyncStatusWidget> {
|
|||
kSleepDuration.inMicroseconds);
|
||||
if (_event == null ||
|
||||
isNotOutdatedEvent ||
|
||||
//sync error cases are handled in StatusBarWidget
|
||||
_event.status == SyncStatus.error) {
|
||||
return const SizedBox.shrink();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue