Skip to content

Commit

Permalink
fix: deleting active custom uploader no longer deletes all custom upl…
Browse files Browse the repository at this point in the history
…oaders
  • Loading branch information
castdrian committed Jan 3, 2024
1 parent 48db117 commit 551a0af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ishare/Views/Settings/UploaderSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,11 @@ struct UploaderSettingsView: View {
savedCustomUploaders = uploaders

if uploader.id == activeCustomUploader {
savedCustomUploaders = nil
activeCustomUploader = nil
uploadType = .IMGUR
}
}

private func testCustomUploader(_ uploader: CustomUploader) {
let image = NSImage(named: "AppIcon")
guard let imageData = image?.tiffRepresentation else { return }
Expand Down

0 comments on commit 551a0af

Please sign in to comment.