Added ios support for receive_sharing_intent, some consistency fixes and bug fixes

This commit is contained in:
Anton Stubenbord
2022-11-21 23:47:27 +01:00
parent 2a545dba7c
commit a7295fb739
34 changed files with 865 additions and 71 deletions

View File

@@ -83,7 +83,7 @@ class _HomePageState extends State<HomePage> {
BlocProvider.of<StoragePathCubit>(context).initialize();
BlocProvider.of<SavedViewCubit>(context).initialize();
} on ErrorMessage catch (error, stackTrace) {
showError(context, error, stackTrace);
showErrorMessage(context, error, stackTrace);
}
}
}

View File

@@ -19,7 +19,7 @@ class BottomNavBar extends StatelessWidget {
selectedIndex: selectedIndex,
destinations: [
NavigationDestination(
icon: const Icon(Icons.description),
icon: const Icon(Icons.description_outlined),
selectedIcon: Icon(
Icons.description,
color: Theme.of(context).colorScheme.primary,
@@ -27,7 +27,7 @@ class BottomNavBar extends StatelessWidget {
label: S.of(context).bottomNavDocumentsPageLabel,
),
NavigationDestination(
icon: const Icon(Icons.document_scanner),
icon: const Icon(Icons.document_scanner_outlined),
selectedIcon: Icon(
Icons.document_scanner,
color: Theme.of(context).colorScheme.primary,
@@ -35,9 +35,7 @@ class BottomNavBar extends StatelessWidget {
label: S.of(context).bottomNavScannerPageLabel,
),
NavigationDestination(
icon: const Icon(
Icons.sell,
),
icon: const Icon(Icons.sell_outlined),
selectedIcon: Icon(
Icons.sell,
color: Theme.of(context).colorScheme.primary,

View File

@@ -191,7 +191,7 @@ class InfoDrawer extends StatelessWidget {
getIt<TagCubit>().reset();
getIt<DocumentScannerCubit>().reset();
} on ErrorMessage catch (error, stackTrace) {
showError(context, error, stackTrace);
showErrorMessage(context, error, stackTrace);
}
},
),