Skip to content

Commit e2c03cf

Browse files
Apply suggestions from code review
Co-authored-by: Alex <[email protected]>
1 parent 9f8c308 commit e2c03cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mobile/lib/widgets/asset_viewer/description_input.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ class DescriptionInput extends HookConsumerWidget {
3434
final owner = ref.watch(currentUserProvider);
3535
final hasError = useState(false);
3636
final assetWithExif = ref.watch(assetDetailProvider(asset));
37-
final assetHasDescription = useState(false);
38-
final isAssetOwnedByUser = fastHash(owner?.id ?? '') == asset.ownerId;
37+
final hasDescription = useState(false);
38+
final isOwner = fastHash(owner?.id ?? '') == asset.ownerId;
3939

4040
useEffect(
4141
() {

0 commit comments

Comments
 (0)