added comments

This commit is contained in:
ashilkn 2022-10-14 15:23:45 +05:30
parent b31805518b
commit 1b72009cfb
2 changed files with 3 additions and 1 deletions

View file

@ -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(

View file

@ -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();
}