Commit 9f2c476

derdilla <82763757+NobodyForNothing@users.noreply.github.com>
2024-09-04 15:45:28
Set to most recent interval before exporting after entry (#420)
1 parent c0a5b5d
Changed files (1)
app
lib
app/lib/data_util/entry_context.dart
@@ -50,6 +50,7 @@ extension EntryUtils on BuildContext {
           await intakeRepo.add(intake);
         }
         if (mounted && exportSettings.exportAfterEveryEntry) {
+          read<IntervalStoreManager>().exportPage.setToMostRecentInterval();
           performExport(this, AppLocalizations.of(this)!);
         }
       }