add safearea in useful places
This commit is contained in:
parent
208a4ac1ae
commit
6c1049b5ee
|
@ -396,7 +396,7 @@ class _AboutTab extends HookWidget {
|
|||
title: const Center(child: Text('Modlog')),
|
||||
onTap: goToModLog,
|
||||
),
|
||||
const SizedBox(height: 20),
|
||||
const SafeArea(child: SizedBox.shrink()),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -430,6 +430,7 @@ class _ManageAccount extends HookWidget {
|
|||
),
|
||||
child: const Text('DELETE ACCOUNT'),
|
||||
),
|
||||
const SafeArea(child: SizedBox.shrink()),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
|
@ -82,7 +82,7 @@ class InfiniteScroll<T> extends HookWidget {
|
|||
if (i == data.value.length) {
|
||||
// if there are no more, skip
|
||||
if (!hasMore.current) {
|
||||
return const SizedBox.shrink();
|
||||
return const SafeArea(child: SizedBox.shrink());
|
||||
}
|
||||
|
||||
// if it's already fetching more, skip
|
||||
|
@ -98,7 +98,9 @@ class InfiniteScroll<T> extends HookWidget {
|
|||
}).whenComplete(() => isFetching.current = false);
|
||||
}
|
||||
|
||||
return loadingWidget;
|
||||
return SafeArea(
|
||||
child: loadingWidget,
|
||||
);
|
||||
}
|
||||
|
||||
// not last element, render list item
|
||||
|
|
Loading…
Reference in New Issue