Feat: Update scanner persistence, more migrations and bugfixes

This commit is contained in:
Anton Stubenbord
2023-09-28 17:14:27 +02:00
parent 18ab657932
commit 653344c9ee
55 changed files with 887 additions and 442 deletions

View File

@@ -160,11 +160,13 @@ class HomeShellWidget extends StatelessWidget {
Hive.box<LocalUserAppState>(
HiveBoxes.localUserAppState)
.get(currentUserId)!,
context.read(),
)..initialize(),
),
Provider(
create: (context) =>
DocumentScannerCubit(context.read()),
DocumentScannerCubit(context.read())
..initialize(),
),
Provider(
create: (context) {
@@ -173,6 +175,7 @@ class HomeShellWidget extends StatelessWidget {
context.read(),
context.read(),
context.read(),
context.read(),
);
if (currentLocalUser
.paperlessUser.canViewDocuments &&