API 30: improved media store xmp value in fullscreen debug page
This commit is contained in:
parent
6bd590cde2
commit
c86af1945f
2 changed files with 6 additions and 2 deletions
|
@ -41,7 +41,7 @@ if (keystorePropertiesFile.exists()) {
|
|||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 29 // latest (or latest-1 if the sources of latest SDK are unavailable)
|
||||
compileSdkVersion 30 // latest (or latest-1 if the sources of latest SDK are unavailable)
|
||||
|
||||
lintOptions {
|
||||
disable 'InvalidPackage'
|
||||
|
@ -54,7 +54,7 @@ android {
|
|||
// but Flutter (as of v1.17.3) fails to run in release mode when using Gradle plugin 4.0:
|
||||
// https://github.com/flutter/flutter/issues/58247
|
||||
minSdkVersion 24
|
||||
targetSdkVersion 29 // same as compileSdkVersion
|
||||
targetSdkVersion 30 // same as compileSdkVersion
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
versionName flutterVersionName
|
||||
manifestPlaceholders = [googleApiKey:keystoreProperties['googleApiKey']]
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import 'dart:collection';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:aves/model/image_entry.dart';
|
||||
import 'package:aves/model/image_metadata.dart';
|
||||
|
@ -168,6 +169,9 @@ class _FullscreenDebugPageState extends State<FullscreenDebugPage> {
|
|||
}
|
||||
value += ' (${DateTime.fromMillisecondsSinceEpoch(v)})';
|
||||
}
|
||||
if (key == 'xmp' && v != null && v is Uint8List) {
|
||||
value = String.fromCharCodes(v);
|
||||
}
|
||||
return MapEntry(key, value);
|
||||
}));
|
||||
return InfoRowGroup(data);
|
||||
|
|
Loading…
Reference in a new issue