mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 01:06:21 +01:00
Fix adding photos to album from photos page
This commit is contained in:
parent
1957773c5a
commit
c2d2bb694b
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ class _NewAlbumDialogState extends State<NewAlbumDialog> {
|
|||
void _onOkPressed(BuildContext context) {
|
||||
if (_formKey.currentState.validate()) {
|
||||
_formKey.currentState.save();
|
||||
if (_formValue.provider == _Provider.static) {
|
||||
if (_formValue.provider == _Provider.static ||
|
||||
_formValue.provider == null) {
|
||||
_onConfirmStaticAlbum();
|
||||
} else {
|
||||
_onConfirmDirAlbum();
|
||||
|
|
Loading…
Reference in a new issue