Fix code analysis issues: remove unused imports, debug prints, fix deprecated methods and naming conventions
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ class KometAppState extends State<KometApp> {
|
||||
final navState = KometApp.navigatorKey.currentState;
|
||||
if (navState != null) {
|
||||
final overlayContext = navState.overlay?.context;
|
||||
if (overlayContext != null) {
|
||||
if (overlayContext != null && overlayContext.mounted) {
|
||||
showCustomNotification(overlayContext, e.message);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user