fix
This commit is contained in:
parent
f1f39889b7
commit
504bd0e703
1 changed files with 3 additions and 3 deletions
|
|
@ -76,14 +76,14 @@ class MyTheme {
|
|||
}
|
||||
|
||||
String getPlatform() {
|
||||
if (kIsWeb) {
|
||||
return "Web";
|
||||
} else if (isPwa()) {
|
||||
if (isPwa()) {
|
||||
if (platform == TargetPlatform.android) {
|
||||
return "Android";
|
||||
} else if (platform == TargetPlatform.iOS) {
|
||||
return "iOS";
|
||||
}
|
||||
} else if (kIsWeb) {
|
||||
return "Web";
|
||||
}
|
||||
return "Other";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue