mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-05-15 15:44:57 -04:00
Fix Download button clipping
This commit is contained in:
parent
33a866ef0f
commit
a6d730acc0
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@ struct ListRow: View {
|
||||||
@AppStorage("cacheDirectory") private var cacheDirectory: String = .cacheDirectory
|
@AppStorage("cacheDirectory") private var cacheDirectory: String = .cacheDirectory
|
||||||
private let length: CGFloat = 48
|
private let length: CGFloat = 48
|
||||||
private let spacing: CGFloat = 5
|
private let spacing: CGFloat = 5
|
||||||
|
private let padding: CGFloat = 3
|
||||||
private var compatibilityTitle: String {
|
private var compatibilityTitle: String {
|
||||||
"macOS \(type.description) not compatible!"
|
"macOS \(type.description) not compatible!"
|
||||||
}
|
}
|
||||||
|
@ -78,6 +79,7 @@ struct ListRow: View {
|
||||||
Image(systemName: "arrow.down.circle")
|
Image(systemName: "arrow.down.circle")
|
||||||
.foregroundColor(.accentColor)
|
.foregroundColor(.accentColor)
|
||||||
}
|
}
|
||||||
|
.padding(.trailing, padding)
|
||||||
}
|
}
|
||||||
.alert(isPresented: $showAlert) {
|
.alert(isPresented: $showAlert) {
|
||||||
switch alertType {
|
switch alertType {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue