Update: 2026-06-23 18:08:22
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user