Fix: refresh

This commit is contained in:
Jakob Stornig 2024-01-25 16:11:04 +01:00
parent 4ddc76faa4
commit c46eec06a5
4 changed files with 15 additions and 10 deletions

View file

@ -51,8 +51,7 @@ export default function Page() {
router.back();
}}/>
<NavigationButton text="Save" onPress={() => {
addCategory(categoryName, categoryColor, selectedType, amount);
router.back();
addCategory(categoryName, categoryColor, selectedType, amount).then(() => router.back());
}}/>
</View>
</View>