fix
This commit is contained in:
@@ -76,14 +76,14 @@ class MyTheme {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String getPlatform() {
|
String getPlatform() {
|
||||||
if (kIsWeb) {
|
if (isPwa()) {
|
||||||
return "Web";
|
|
||||||
} else if (isPwa()) {
|
|
||||||
if (platform == TargetPlatform.android) {
|
if (platform == TargetPlatform.android) {
|
||||||
return "Android";
|
return "Android";
|
||||||
} else if (platform == TargetPlatform.iOS) {
|
} else if (platform == TargetPlatform.iOS) {
|
||||||
return "iOS";
|
return "iOS";
|
||||||
}
|
}
|
||||||
|
} else if (kIsWeb) {
|
||||||
|
return "Web";
|
||||||
}
|
}
|
||||||
return "Other";
|
return "Other";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user