mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-09 19:09:34 +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
|
// try different keys to get the device sdk version
|
||||||
return
|
return
|
||||||
// android, eg: 30
|
// android, eg: 30
|
||||||
data['version.sdkInt'] ??
|
data['version.sdkInt']?.toString() ??
|
||||||
// ios, eg: 14.4
|
// ios, eg: 14.4
|
||||||
data['systemVersion'] ??
|
data['systemVersion'] ??
|
||||||
// linux, eg: 5.4.0-66-generic
|
// linux, eg: 5.4.0-66-generic
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ final deviceModelProvider = FutureProvider<String>.internal(
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef DeviceModelRef = FutureProviderRef<String>;
|
typedef DeviceModelRef = FutureProviderRef<String>;
|
||||||
String _$deviceSdkVersionHash() => r'0553db1a6c90a4db2841761ac2765eb1ba86a714';
|
String _$deviceSdkVersionHash() => r'501b01ae679e02fc5082feabea81cea0fa74afd7';
|
||||||
|
|
||||||
/// See also [deviceSdkVersion].
|
/// See also [deviceSdkVersion].
|
||||||
@ProviderFor(deviceSdkVersion)
|
@ProviderFor(deviceSdkVersion)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue