mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 10:38:41 +00:00
bug fix storing images
This commit is contained in:
parent
bb2d16f620
commit
385cf11654
1 changed files with 2 additions and 2 deletions
|
|
@ -63,8 +63,8 @@ class SaveToGalleryButtonState extends State<SaveToGalleryButton> {
|
|||
memoryPath = join(memoryPath, token);
|
||||
}
|
||||
final user = await getUser();
|
||||
if (user != null) return;
|
||||
bool storeToGallery = user!.storeMediaFilesInGallery;
|
||||
if (user == null) return;
|
||||
bool storeToGallery = user.storeMediaFilesInGallery;
|
||||
|
||||
if (widget.videoFilePath != null) {
|
||||
memoryPath += ".mp4";
|
||||
|
|
|
|||
Loading…
Reference in a new issue