telegram ui style
This commit is contained in:
1 parent
7db327c588
commit
f7e22364fd
9 files changed
+663
-476
No files matched your search
@@ -120,7 +120,7 @@ struct ServerInfoView: View {
|
||||
.font(.caption)
|
||||
}
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.listRowBackground(Color.clear)
|
||||
.listRowBackground(Color.gray.opacity(0.16))
|
||||
}
|
||||
|
||||
private func connectionRows() -> some View {
|
||||
@@ -271,7 +271,7 @@ private extension ServerInformation.CapabilityStatus {
|
||||
var color: Color {
|
||||
switch self {
|
||||
case .success: return Color.green.opacity(0.16)
|
||||
case .normal: return Color.clear
|
||||
case .normal: return Color.gray.opacity(0.16)
|
||||
case .warning: return Color.orange.opacity(0.16)
|
||||
case .error: return Color.red.opacity(0.16)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user