mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-25 20:39:31 +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
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ final deviceModelProvider = FutureProvider<String>.internal(
|
|||
);
|
||||
|
||||
typedef DeviceModelRef = FutureProviderRef<String>;
|
||||
String _$deviceSdkVersionHash() => r'0553db1a6c90a4db2841761ac2765eb1ba86a714';
|
||||
String _$deviceSdkVersionHash() => r'501b01ae679e02fc5082feabea81cea0fa74afd7';
|
||||
|
||||
/// See also [deviceSdkVersion].
|
||||
@ProviderFor(deviceSdkVersion)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue