feat(iptv): introduce settings provider and tab for managing IPTV preferences

This commit is contained in:
Michael committed 2025-12-08 22:23:36 +01:00
1 parent e5af0ec044
commit 7d13132fcd
3 files changed
+16 -1

No files matched your search

+6 -1
View File
@@ -470,10 +470,15 @@ class _SettingsTabState extends ConsumerState<SettingsTab> with SingleTickerProv
style: FilledButton.styleFrom(backgroundColor: Colors.orange),
onPressed: () {
Navigator.pop(context);
// Clear PaintingCache
// Clear Flutter Image Cache
PaintingBinding.instance.imageCache.clear();
PaintingBinding.instance.imageCache.clearLiveImages();
// Clear Browser Local Storage (SharedPreferences backend for Web)
html.window.localStorage.clear();
html.window.sessionStorage.clear();
// Reload application
html.window.location.reload();
},