Update: 2026-06-23 18:08:22

This commit is contained in:
Hamza-Ayed
2026-06-23 18:08:22 +03:00
parent b60e06b890
commit 2af9859ad8

View File

@@ -248,12 +248,7 @@ SnackbarController? _show(_SnackVariant variant, String message) {
} }
try { try {
// Dismiss any existing snackbar first (no stacking) // Removed Get.closeCurrentSnackbar() because it causes async LateInitializationError in GetX at early startup
try {
if (Get.isSnackbarOpen) Get.closeCurrentSnackbar();
} catch (e) {
debugPrint("⚠️ Get.closeCurrentSnackbar error: $e");
}
switch (variant.haptic) { switch (variant.haptic) {
case HapticFeedbackType.light: case HapticFeedbackType.light: