mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 23:08:40 +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);
|
memoryPath = join(memoryPath, token);
|
||||||
}
|
}
|
||||||
final user = await getUser();
|
final user = await getUser();
|
||||||
if (user != null) return;
|
if (user == null) return;
|
||||||
bool storeToGallery = user!.storeMediaFilesInGallery;
|
bool storeToGallery = user.storeMediaFilesInGallery;
|
||||||
|
|
||||||
if (widget.videoFilePath != null) {
|
if (widget.videoFilePath != null) {
|
||||||
memoryPath += ".mp4";
|
memoryPath += ".mp4";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue