libssh link actually looks good now

change border radius of the app icon in aboutviewto match ios 7-18
left aligned "Content" header in add snippet view
improve padding stuff
This commit is contained in:
neon443
2025-08-04 12:43:30 +01:00
parent ee6fc96f01
commit 5a377eb8d9
5 changed files with 19 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ struct AboutView: View {
UIImage().appIcon
.resizable().scaledToFit()
.frame(width: 100)
.clipShape(RoundedRectangle(cornerRadius: 26))
.clipShape(RoundedRectangle(cornerRadius: 22))
Text("ShhShell")
.font(.largeTitle.monospaced())
HStack {
@@ -35,7 +35,10 @@ struct AboutView: View {
Section("Thanks to") {
Link(destination: URL(string: "https://libssh.org")!) {
Text("LibSSH")
.background(.red)
.padding(10)
.background(hostsManager.selectedTheme.background.suiColor)
.clipShape(RoundedRectangle(cornerRadius: 5))
.shadow(radius: 2)
}
}
}