Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Coder-Desktop/Coder-Desktop/Views/Settings/GeneralTab.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import LaunchAtLogin
import SDWebImage
import SwiftUI

struct GeneralTab: View {
Expand All @@ -18,6 +19,16 @@ struct GeneralTab: View {
Text("Start Coder Connect on launch")
}
}
Section {
HStack {
Text("Icon cache")
Spacer()
Button("Clear") {
SDImageCache.shared.clearMemory()
SDImageCache.shared.clearDisk()
}
}
}
}.formStyle(.grouped)
}
}
Expand Down
Loading