Skip to content

Commit

Permalink
Add setState for watch log
Browse files Browse the repository at this point in the history
  • Loading branch information
TaYaKi71751 committed Dec 18, 2023
1 parent a4002ee commit a809da2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/pages/database_download/database_download_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,15 @@ class DataBaseDownloadPageState extends State<DataBaseDownloadPage> {
} catch (e, st) {
Logger.error('[DBDownload] E: $e\n'
'$st');

setState(() {
downloading = false;
baseString = (
'[DBDownload] E: $e\n'
'$st'
);
});
return;
if(_throw) throw e;
}

Expand Down

0 comments on commit a809da2

Please sign in to comment.