diff --git a/damus/Components/ImageCarousel.swift b/damus/Components/ImageCarousel.swift index 66a4ea2..ff55731 100644 --- a/damus/Components/ImageCarousel.swift +++ b/damus/Components/ImageCarousel.swift @@ -49,6 +49,11 @@ struct ImageContextMenuModifier: ViewModifier { } label: { Label("Copy Image", systemImage: "photo.on.rectangle") } + Button { + UIImageWriteToSavedPhotosAlbum(someImage, nil, nil, nil) + } label: { + Label("Save Image", systemImage: "square.and.arrow.down") + } } Button { showShareSheet = true diff --git a/damus/Info.plist b/damus/Info.plist index adb4097..36a8a95 100644 --- a/damus/Info.plist +++ b/damus/Info.plist @@ -15,6 +15,8 @@ + NSPhotoLibraryAddUsageDescription + "Granting Damus access to your photo library allows you to save photos. LSApplicationQueriesSchemes river