+3
-1
lib/screens/profile_page.dart
+3
-1
lib/screens/profile_page.dart
···
47
47
if (!mounted) return;
48
48
if (success) {
49
49
Navigator.of(context).pop();
50
-
if (mounted) setState(() {}); // Force widget rebuild after modal closes
50
+
if (mounted) {
51
+
setState(() {}); // Force widget rebuild after modal closes
52
+
}
51
53
} else {
52
54
if (!mounted) return;
53
55
ScaffoldMessenger.of(