minor fixes
This commit is contained in:
parent
cdd6f2017c
commit
dd1d56f73a
5 changed files with 12 additions and 3 deletions
|
@ -17,7 +17,8 @@ extension ExtraAvesEntryImages on AvesEntry {
|
||||||
}
|
}
|
||||||
|
|
||||||
ThumbnailProviderKey _getThumbnailProviderKey(double extent) {
|
ThumbnailProviderKey _getThumbnailProviderKey(double extent) {
|
||||||
EntryCache.markThumbnailExtent(extent);
|
final requestExtent = extent.roundToDouble();
|
||||||
|
EntryCache.markThumbnailExtent(requestExtent);
|
||||||
return ThumbnailProviderKey(
|
return ThumbnailProviderKey(
|
||||||
uri: uri,
|
uri: uri,
|
||||||
mimeType: mimeType,
|
mimeType: mimeType,
|
||||||
|
@ -25,7 +26,7 @@ extension ExtraAvesEntryImages on AvesEntry {
|
||||||
rotationDegrees: rotationDegrees,
|
rotationDegrees: rotationDegrees,
|
||||||
isFlipped: isFlipped,
|
isFlipped: isFlipped,
|
||||||
dateModifiedSecs: dateModifiedSecs ?? -1,
|
dateModifiedSecs: dateModifiedSecs ?? -1,
|
||||||
extent: extent,
|
extent: requestExtent,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
class XmpNamespaces {
|
class XmpNamespaces {
|
||||||
static const acdsee = 'http://ns.acdsee.com/iptc/1.0/';
|
static const acdsee = 'http://ns.acdsee.com/iptc/1.0/';
|
||||||
static const adsmlat = 'http://adsml.org/xmlns/';
|
static const adsmlat = 'http://adsml.org/xmlns/';
|
||||||
|
static const appleDepthData = 'http://ns.apple.com/depthData/1.0/';
|
||||||
static const appleDesktop = 'http://ns.apple.com/namespace/1.0/';
|
static const appleDesktop = 'http://ns.apple.com/namespace/1.0/';
|
||||||
static const appleHDRGainMap = 'http://ns.apple.com/HDRGainMap/1.0/';
|
static const appleHDRGainMap = 'http://ns.apple.com/HDRGainMap/1.0/';
|
||||||
static const applePixelDataInfo = 'http://ns.apple.com/pixeldatainfo/1.0/';
|
static const applePixelDataInfo = 'http://ns.apple.com/pixeldatainfo/1.0/';
|
||||||
|
|
|
@ -38,6 +38,7 @@ class PlatformAppService implements AppService {
|
||||||
static final _stream = StreamsChannel('deckers.thibault/aves/activity_result_stream');
|
static final _stream = StreamsChannel('deckers.thibault/aves/activity_result_stream');
|
||||||
|
|
||||||
static final _knownAppDirs = {
|
static final _knownAppDirs = {
|
||||||
|
'com.google.android.apps.photos': {'Google Photos'},
|
||||||
'com.kakao.talk': {'KakaoTalkDownload'},
|
'com.kakao.talk': {'KakaoTalkDownload'},
|
||||||
'com.sony.playmemories.mobile': {'Imaging Edge Mobile'},
|
'com.sony.playmemories.mobile': {'Imaging Edge Mobile'},
|
||||||
'nekox.messenger': {'NekoX'},
|
'nekox.messenger': {'NekoX'},
|
||||||
|
|
|
@ -7,6 +7,7 @@ class XmpNamespaceView {
|
||||||
XmpNamespaces.adsmlat: 'AdsML',
|
XmpNamespaces.adsmlat: 'AdsML',
|
||||||
XmpNamespaces.exifAux: 'Exif Aux',
|
XmpNamespaces.exifAux: 'Exif Aux',
|
||||||
XmpNamespaces.avm: 'Astronomy Visualization',
|
XmpNamespaces.avm: 'Astronomy Visualization',
|
||||||
|
XmpNamespaces.appleDepthData: 'Apple Depth Data',
|
||||||
XmpNamespaces.appleDesktop: 'Apple Desktop',
|
XmpNamespaces.appleDesktop: 'Apple Desktop',
|
||||||
XmpNamespaces.appleHDRGainMap: 'Apple HDR Gain Map',
|
XmpNamespaces.appleHDRGainMap: 'Apple HDR Gain Map',
|
||||||
XmpNamespaces.applePixelDataInfo: 'Apple Pixel Data Info',
|
XmpNamespaces.applePixelDataInfo: 'Apple Pixel Data Info',
|
||||||
|
|
|
@ -77,7 +77,12 @@ class InfoRowGroup extends StatefulWidget {
|
||||||
// `colorScheme.secondary` is overridden upstream as an `ExpansionTileCard` theming workaround,
|
// `colorScheme.secondary` is overridden upstream as an `ExpansionTileCard` theming workaround,
|
||||||
// so we use `colorScheme.primary` instead
|
// so we use `colorScheme.primary` instead
|
||||||
final linkColor = Theme.of(context).colorScheme.primary;
|
final linkColor = Theme.of(context).colorScheme.primary;
|
||||||
final style = InfoRowGroup.valueStyle.copyWith(color: linkColor, decoration: TextDecoration.underline);
|
final style = InfoRowGroup.valueStyle.copyWith(
|
||||||
|
color: linkColor,
|
||||||
|
decoration: TextDecoration.underline,
|
||||||
|
decorationColor: linkColor,
|
||||||
|
decorationStyle: TextDecorationStyle.solid,
|
||||||
|
);
|
||||||
|
|
||||||
return [TextSpan(text: '${Unicode.FSI}$value${Unicode.PDI}', style: style, recognizer: recognizer)];
|
return [TextSpan(text: '${Unicode.FSI}$value${Unicode.PDI}', style: style, recognizer: recognizer)];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue