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(
child: const Icon(Icons.add),
onPressed: () {
Navigator.of(context).push(
platformRoute(
(p0) => CreateRecurringEntryView(
w: selectedWallet!,
locale: locale,
),
),
);
Navigator.of(context)
.push(
platformRoute(
(p0) => CreateRecurringEntryView(
w: selectedWallet!,
locale: locale,
),
),
)
.then((value) => setState(() {}));
},
),
body: Center(