We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e76674a commit 92be30aCopy full SHA for 92be30a
1 file changed
core/alert.tsx
@@ -1,13 +1,12 @@
1
import { Alert, Platform } from "react-native";
2
3
-export function showAlert(message: string,title?: string) {
+export function showAlert(message: string, title?: string) {
4
switch (Platform.OS) {
5
- case 'ios':
6
- case 'android':
7
- Alert.alert(title ?? "Termy", message)
+ case "ios":
+ case "android":
+ Alert.alert(title ?? "Termy", message);
8
break;
9
- case 'web':
+ case "web":
10
alert(message);
11
}
12
-
13
-}
+}
0 commit comments