Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbf2750f

Browse files
committed
chore: support manually clearing the icon cache
1 parentb2da490 commitbf2750f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎Coder-Desktop/Coder-Desktop/Views/Settings/GeneralTab.swift

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import LaunchAtLogin
2+
import SDWebImage
23
import SwiftUI
34

45
structGeneralTab:View{
@@ -18,6 +19,16 @@ struct GeneralTab: View {
1819
Text("Start Coder Connect on launch")
1920
}
2021
}
22+
Section{
23+
HStack{
24+
Text("Icon cache")
25+
Spacer()
26+
Button("Clear"){
27+
SDImageCache.shared.clearMemory()
28+
SDImageCache.shared.clearDisk()
29+
}
30+
}
31+
}
2132
}.formStyle(.grouped)
2233
}
2334
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp