feat: Upgrade dio version to latest, applied migrations

This commit is contained in:
Anton Stubenbord
2023-02-13 18:13:08 +01:00
parent 26b283b83a
commit c5033792aa
17 changed files with 124 additions and 170 deletions

View File

@@ -242,13 +242,6 @@ class _DocumentsPageState extends State<DocumentsPage>
children: [
Builder(
builder: (context) {
final itemHeight =
MediaQuery.sizeOf(context).height -
MediaQuery.viewInsetsOf(context).bottom -
MediaQuery.viewInsetsOf(context).top -
kToolbarHeight -
kTextTabBarHeight -
56;
return RefreshIndicator(
edgeOffset: kToolbarHeight + kTextTabBarHeight,
onRefresh: _onReloadDocuments,
@@ -281,7 +274,6 @@ class _DocumentsPageState extends State<DocumentsPage>
return SliverAdaptiveDocumentsView(
viewType: state.viewType,
maxItemExtent: itemHeight,
onTap: _openDetails,
onSelected: context
.read<DocumentsCubit>()