mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-15 07:56:11 +08:00
Show +1 notification badge after user has made a journal entry
This commit is contained in:
@ -97,6 +97,7 @@ class StateContainerState extends State<StateContainer> {
|
||||
setState(() {
|
||||
appState.isLoadingFromDisk = false;
|
||||
appState.notes = loadedNotes;
|
||||
appState.hasJournalEntries = loadedNotes.isNotEmpty;
|
||||
});
|
||||
}).catchError((err, stack) {
|
||||
setState(() {
|
||||
@ -121,6 +122,7 @@ class StateContainerState extends State<StateContainer> {
|
||||
setState(() {
|
||||
appState.isLoadingFromDisk = false;
|
||||
appState.notes = loadedNotes;
|
||||
appState.hasJournalEntries = loadedNotes.isNotEmpty;
|
||||
});
|
||||
} catch (err, stack) {
|
||||
setState(() {
|
||||
|
Reference in New Issue
Block a user