mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix(mobile): asset description is not shown on the sheet when opened for the first time (#10377)
* fix: invalidate asset's description when asset details changed * refactor(exif-sheet): use description from exif instead * refactor(asset-description): remove asset_description.provider * fix(asset-description): set is empty based on exifInfo.description * chore: rename service to provider
This commit is contained in:
parent
7ce87abc95
commit
29e4666dfa
4 changed files with 32 additions and 123 deletions
|
|
@ -73,7 +73,8 @@ class ExifBottomSheet extends HookConsumerWidget {
|
|||
child: Column(
|
||||
children: [
|
||||
dateWidget,
|
||||
if (asset.isRemote) DescriptionInput(asset: asset),
|
||||
if (asset.isRemote)
|
||||
DescriptionInput(asset: asset, exifInfo: exifInfo),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
@ -132,7 +133,8 @@ class ExifBottomSheet extends HookConsumerWidget {
|
|||
child: Column(
|
||||
children: [
|
||||
dateWidget,
|
||||
if (asset.isRemote) DescriptionInput(asset: asset),
|
||||
if (asset.isRemote)
|
||||
DescriptionInput(asset: asset, exifInfo: exifInfo),
|
||||
Padding(
|
||||
padding: EdgeInsets.only(top: asset.isRemote ? 0 : 16.0),
|
||||
child: ExifLocation(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue