photos saved to media library
This commit is contained in:
@ -24,6 +24,7 @@ import 'dart:async';
|
||||
|
||||
import 'package:modal_bottom_sheet/modal_bottom_sheet.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
import 'package:gallery_saver/gallery_saver.dart';
|
||||
|
||||
class DestinationController extends GetxController {
|
||||
late LocationSettings locationSettings;
|
||||
@ -487,6 +488,8 @@ class DestinationController extends GetxController {
|
||||
await db.insertDestination(destination);
|
||||
}
|
||||
|
||||
await GallerySaver.saveImage(imageurl);
|
||||
|
||||
PopulateDestinations();
|
||||
|
||||
/// post to NATNAT
|
||||
|
||||
Reference in New Issue
Block a user