fix(mobile): empty album description does not save
This commit is contained in:
@@ -300,7 +300,7 @@ class _EditAlbumDialogState extends ConsumerState<_EditAlbumDialog> {
|
|||||||
|
|
||||||
await ref
|
await ref
|
||||||
.read(remoteAlbumProvider.notifier)
|
.read(remoteAlbumProvider.notifier)
|
||||||
.updateAlbum(widget.album.id, name: newTitle, description: newDescription.isEmpty ? null : newDescription);
|
.updateAlbum(widget.album.id, name: newTitle, description: newDescription);
|
||||||
|
|
||||||
if (mounted) {
|
if (mounted) {
|
||||||
Navigator.of(
|
Navigator.of(
|
||||||
|
|||||||
Reference in New Issue
Block a user