Fix estimated filesize not displaying correctly when only one cache exists

This commit is contained in:
2023-06-04 02:33:59 +02:00
parent 95f14da13f
commit 41d4d3dd3f
2 changed files with 5 additions and 4 deletions

View File

@ -196,7 +196,7 @@ class _SettingsState extends State<Settings> {
title: "Cache löschen",
content: "Alle cache Einträge werden gelöscht. Der cache wird bei benutzung der App erneut aufgebaut",
confirmButton: "Unwiederruflich löschen",
onConfirm: () => const CacheView().clear(),
onConfirm: () => const CacheView().clear().then((value) => setState((){})),
).asDialog(context);
},
trailing: const Icon(Icons.arrow_right),