Skip to content

Commit cf3f274

Browse files
committed
cleanup: Fixed the default case warning
1 parent b8444bd commit cf3f274

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/firebase_options_dev.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@ class DefaultFirebaseOptions {
4242
'DefaultFirebaseOptions have not been configured for linux - '
4343
'you can reconfigure this by running the FlutterFire CLI again.',
4444
);
45-
default:
45+
case TargetPlatform.fuchsia:
4646
throw UnsupportedError(
47-
'DefaultFirebaseOptions are not supported for this platform.',
47+
'DefaultFirebaseOptions have not been configured for fuchsia - '
48+
'you can reconfigure this by running the FlutterFire CLI again.',
4849
);
50+
break;
4951
}
5052
}
5153

0 commit comments

Comments
 (0)