home added
This commit is contained in:
@@ -16,6 +16,7 @@ import 'services/product_repository.dart';
|
||||
import 'services/receipt_parser.dart';
|
||||
import 'utils/constants.dart';
|
||||
import 'utils/supermarkets.dart';
|
||||
import 'widgets/profile_button.dart';
|
||||
import 'widgets/settings_button.dart';
|
||||
|
||||
class ScanScreen extends StatefulWidget {
|
||||
@@ -53,6 +54,8 @@ class _ScanScreenState extends State<ScanScreen> {
|
||||
}
|
||||
} on UnimplementedError {
|
||||
// Desktop / platforms that do not support lost-data recovery.
|
||||
} on MissingPluginException {
|
||||
// Widget tests and hosts without the image_picker plugin.
|
||||
}
|
||||
}
|
||||
|
||||
@@ -182,7 +185,7 @@ class _ScanScreenState extends State<ScanScreen> {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text(kAppName),
|
||||
actions: const [SettingsButton()],
|
||||
actions: const [ProfileButton(), SettingsButton()],
|
||||
),
|
||||
body: SafeArea(
|
||||
child: Padding(
|
||||
|
||||
Reference in New Issue
Block a user