Force refresh of expenses editor
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -36,8 +36,8 @@ class ScanScreen extends HookConsumerWidget {
|
||||
|
||||
restartScan() async {
|
||||
try {
|
||||
final val = ref.refresh(_scanDocumentProvider);
|
||||
Logger.root.info("Load again startup result: $val");
|
||||
ref.invalidate(_scanDocumentProvider);
|
||||
Logger.root.info("Load again startup");
|
||||
} catch (e, s) {
|
||||
Logger.root.shout("Failed to try again startup loading! $e $s");
|
||||
}
|
||||
|
Reference in New Issue
Block a user