mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-24 03:49:30 +00:00
bugfix covert int to str
This commit is contained in:
parent
479242427a
commit
ed236ef117
2 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ Future<String> deviceSdkVersion(DeviceSdkVersionRef ref) async {
|
|||
// try different keys to get the device sdk version
|
||||
return
|
||||
// android, eg: 30
|
||||
data['version.sdkInt'] ??
|
||||
data['version.sdkInt']?.toString() ??
|
||||
// ios, eg: 14.4
|
||||
data['systemVersion'] ??
|
||||
// linux, eg: 5.4.0-66-generic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue