Skip to content

Commit

Permalink
last adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed May 13, 2024
1 parent 5903fc1 commit b2e67e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/android/src/uk/co/lutraconsulting/InputActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public String getManufacturer() {
}

public String getDeviceModel() {
return android.os.Build.MODEL;
return android.os.Build.MODEL.toUpperCase();
}

public void hideSplashScreen()
Expand Down
5 changes: 3 additions & 2 deletions app/ios/iosutils.mm
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,13 @@

QString IosUtils::getManufacturerImpl()
{
return "Apple Inc.";
return "APPLE INC.";
}

QString IosUtils::getDeviceModelImpl()
{
struct utsname systemInfo;
uname( &systemInfo );
return QString::fromUtf8( systemInfo.machine );
QString deviceModel = QString::fromUtf8( systemInfo.machine );
return deviceModel.toUpper();
}

0 comments on commit b2e67e4

Please sign in to comment.