fix: update state after creating recurring entry

This commit is contained in:
Matyáš Caras 2024-02-26 23:26:02 +01:00
parent c7e40b12b7
commit af04accabf
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 2A3175F98820C5C6

View file

@ -125,14 +125,16 @@ class _RecurringEntriesViewState extends State<RecurringEntriesView> {
floatingActionButton: FloatingActionButton( floatingActionButton: FloatingActionButton(
child: const Icon(Icons.add), child: const Icon(Icons.add),
onPressed: () { onPressed: () {
Navigator.of(context).push( Navigator.of(context)
.push(
platformRoute( platformRoute(
(p0) => CreateRecurringEntryView( (p0) => CreateRecurringEntryView(
w: selectedWallet!, w: selectedWallet!,
locale: locale, locale: locale,
), ),
), ),
); )
.then((value) => setState(() {}));
}, },
), ),
body: Center( body: Center(