update icons
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="20px" height="20px" viewBox="0 0 20 20" version="1.1">
|
||||
<g id="surface1">
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(96.078431%,70.196078%,0%);fill-opacity:1;" d="M 19.8125 10 C 19.8125 15.386719 15.378906 19.753906 9.90625 19.753906 C 4.433594 19.753906 0 15.386719 0 10 C 0 4.613281 4.433594 0.246094 9.90625 0.246094 C 15.378906 0.246094 19.8125 4.613281 19.8125 10 Z M 19.8125 10 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 7.21875 5.015625 C 7.5625 5.109375 7.90625 5.167969 8.25 5.261719 C 8.59375 5.355469 8.9375 5.414062 9.28125 5.507812 C 9.375 5.539062 9.40625 5.507812 9.4375 5.414062 C 9.5625 4.890625 9.6875 4.398438 9.8125 3.875 C 9.84375 3.785156 9.875 3.753906 9.96875 3.785156 C 10.28125 3.875 10.5625 3.9375 10.875 4 C 10.96875 4.03125 10.96875 4.0625 10.9375 4.125 C 10.8125 4.617188 10.6875 5.136719 10.5625 5.628906 C 10.5625 5.660156 10.5625 5.691406 10.53125 5.753906 C 10.78125 5.816406 11.0625 5.875 11.3125 5.9375 C 11.34375 5.9375 11.375 5.875 11.40625 5.847656 C 11.5 5.445312 11.59375 5.078125 11.71875 4.675781 L 11.8125 4.308594 C 11.8125 4.246094 11.84375 4.214844 11.90625 4.246094 C 12.21875 4.339844 12.53125 4.398438 12.875 4.492188 C 12.90625 4.492188 12.90625 4.523438 12.9375 4.523438 C 12.84375 4.921875 12.75 5.292969 12.65625 5.660156 C 12.625 5.816406 12.59375 5.96875 12.53125 6.125 C 12.5 6.214844 12.53125 6.246094 12.625 6.277344 L 13.65625 6.738281 C 13.96875 6.921875 14.25 7.167969 14.46875 7.476562 C 14.75 7.9375 14.78125 8.429688 14.65625 8.921875 C 14.5625 9.261719 14.4375 9.570312 14.1875 9.816406 C 14 10 13.75 10.125 13.5 10.214844 C 13.46875 10.214844 13.4375 10.246094 13.375 10.246094 C 13.5 10.339844 13.625 10.398438 13.75 10.492188 C 14.125 10.769531 14.375 11.109375 14.5 11.539062 C 14.5625 11.875 14.53125 12.246094 14.4375 12.585938 C 14.3125 13.015625 14.15625 13.382812 13.875 13.722656 C 13.53125 14.125 13.09375 14.339844 12.59375 14.398438 C 11.9375 14.492188 11.3125 14.429688 10.6875 14.339844 C 10.59375 14.308594 10.53125 14.339844 10.5 14.429688 C 10.375 14.921875 10.25 15.445312 10.125 15.9375 C 10.09375 16.0625 10.09375 16.09375 9.9375 16.03125 C 9.65625 15.96875 9.34375 15.875 9.0625 15.816406 C 8.96875 15.785156 8.96875 15.753906 9 15.691406 C 9.125 15.167969 9.25 14.644531 9.40625 14.152344 C 9.40625 14.09375 9.4375 14.0625 9.375 14.03125 C 9.125 13.96875 8.875 13.90625 8.59375 13.847656 C 8.53125 14.125 8.4375 14.398438 8.375 14.675781 C 8.3125 14.953125 8.21875 15.230469 8.15625 15.507812 C 8.125 15.570312 8.125 15.601562 8.03125 15.570312 C 7.71875 15.476562 7.40625 15.414062 7.09375 15.355469 C 7 15.324219 7 15.292969 7.03125 15.230469 C 7.15625 14.707031 7.28125 14.183594 7.4375 13.691406 C 7.4375 13.660156 7.46875 13.628906 7.46875 13.570312 C 6.75 13.382812 6.03125 13.199219 5.28125 13.015625 C 5.34375 12.890625 5.375 12.800781 5.4375 12.675781 C 5.5625 12.398438 5.6875 12.125 5.78125 11.875 C 5.8125 11.785156 5.84375 11.785156 5.9375 11.785156 C 6.15625 11.847656 6.40625 11.90625 6.625 11.9375 C 6.875 12 7.0625 11.875 7.09375 11.660156 C 7.5 10.09375 7.90625 8.523438 8.28125 6.921875 C 8.34375 6.675781 8.1875 6.398438 7.90625 6.308594 C 7.625 6.214844 7.34375 6.152344 7.09375 6.09375 C 7.03125 6.09375 7 6.0625 7.03125 6 C 7.125 5.660156 7.21875 5.292969 7.3125 4.953125 C 7.1875 5.046875 7.1875 5.046875 7.21875 5.015625 Z M 8.8125 12.617188 C 8.84375 12.617188 8.875 12.644531 8.875 12.644531 C 9.375 12.769531 9.90625 12.921875 10.4375 12.953125 C 10.8125 12.984375 11.15625 12.984375 11.5 12.863281 C 12.09375 12.675781 12.34375 11.90625 12 11.414062 C 11.84375 11.167969 11.59375 11.015625 11.34375 10.863281 C 10.78125 10.554688 10.125 10.429688 9.5 10.308594 C 9.40625 10.277344 9.40625 10.308594 9.375 10.398438 C 9.3125 10.707031 9.21875 10.984375 9.15625 11.292969 C 9.03125 11.722656 8.9375 12.152344 8.8125 12.617188 Z M 11.4375 9.476562 C 11.5 9.476562 11.65625 9.445312 11.78125 9.414062 C 12.375 9.292969 12.6875 8.617188 12.375 8.09375 C 12.21875 7.816406 11.9375 7.628906 11.65625 7.507812 C 11.21875 7.324219 10.78125 7.230469 10.3125 7.109375 C 10.21875 7.078125 10.1875 7.109375 10.15625 7.199219 C 10 7.847656 9.84375 8.460938 9.65625 9.109375 C 9.625 9.167969 9.65625 9.199219 9.71875 9.230469 C 9.84375 9.261719 9.9375 9.292969 10.0625 9.324219 C 10.53125 9.382812 10.9375 9.476562 11.4375 9.476562 Z M 11.4375 9.476562 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(96.862745%,57.647059%,10.196078%);fill-opacity:1;" d="M 19.699219 12.417969 C 18.363281 17.777344 12.9375 21.035156 7.582031 19.699219 C 2.226562 18.363281 -1.035156 12.9375 0.300781 7.582031 C 1.636719 2.222656 7.0625 -1.035156 12.417969 0.300781 C 17.773438 1.632812 21.035156 7.0625 19.699219 12.417969 Z M 19.699219 12.417969 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 14.410156 8.574219 C 14.609375 7.246094 13.59375 6.53125 12.210938 6.050781 L 12.660156 4.25 L 11.5625 3.976562 L 11.125 5.730469 C 10.835938 5.660156 10.539062 5.589844 10.246094 5.523438 L 10.6875 3.757812 L 9.589844 3.484375 L 9.140625 5.285156 C 8.902344 5.230469 8.667969 5.179688 8.4375 5.121094 L 8.441406 5.117188 L 6.925781 4.738281 L 6.636719 5.910156 C 6.636719 5.910156 7.449219 6.097656 7.433594 6.109375 C 7.875 6.21875 7.957031 6.511719 7.941406 6.746094 L 7.429688 8.800781 C 7.460938 8.808594 7.5 8.820312 7.546875 8.835938 L 7.429688 8.808594 L 6.710938 11.683594 C 6.65625 11.820312 6.519531 12.023438 6.210938 11.945312 C 6.21875 11.960938 5.410156 11.746094 5.410156 11.746094 L 4.867188 13 L 6.296875 13.359375 C 6.5625 13.425781 6.820312 13.492188 7.078125 13.558594 L 6.621094 15.382812 L 7.71875 15.65625 L 8.167969 13.851562 C 8.46875 13.933594 8.757812 14.007812 9.042969 14.078125 L 8.59375 15.875 L 9.691406 16.148438 L 10.144531 14.328125 C 12.015625 14.683594 13.425781 14.539062 14.015625 12.847656 C 14.492188 11.484375 13.992188 10.699219 13.007812 10.1875 C 13.726562 10.019531 14.265625 9.550781 14.410156 8.574219 Z M 11.902344 12.089844 C 11.5625 13.453125 9.269531 12.71875 8.523438 12.53125 L 9.128906 10.117188 C 9.871094 10.300781 12.253906 10.667969 11.902344 12.089844 Z M 12.242188 8.554688 C 11.933594 9.796875 10.023438 9.164062 9.402344 9.011719 L 9.949219 6.820312 C 10.570312 6.976562 12.5625 7.261719 12.242188 8.554688 Z M 12.242188 8.554688 "/>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 2.1 KiB |
@@ -53,13 +53,13 @@ struct RecommendedRelayView: View {
|
||||
Spacer()
|
||||
|
||||
Image(systemName: "info.circle")
|
||||
.font(.system(size: 20, weight: .medium))
|
||||
.font(.system(size: 20, weight: .regular))
|
||||
.foregroundColor(Color.accentColor)
|
||||
} else {
|
||||
Spacer()
|
||||
|
||||
Image(systemName: "questionmark.circle")
|
||||
.font(.system(size: 20, weight: .medium))
|
||||
.font(.system(size: 20, weight: .regular))
|
||||
.foregroundColor(.gray)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ struct RelayStatus: View {
|
||||
let timer = Timer.publish(every: 2, on: .main, in: .common).autoconnect()
|
||||
|
||||
@State var conn_color: Color = .gray
|
||||
@State var conn_image: String = "wifi.slash"
|
||||
@State var conn_image: String = "network"
|
||||
@State var connecting: Bool = false
|
||||
|
||||
func update_connection() {
|
||||
@@ -22,13 +22,12 @@ struct RelayStatus: View {
|
||||
if relay.id == self.relay {
|
||||
let c = relay.connection
|
||||
if c.isConnected {
|
||||
conn_image = "checkmark"
|
||||
conn_color = .accentColor
|
||||
conn_image = "network"
|
||||
conn_color = .green
|
||||
} else if c.isConnecting || c.isReconnecting {
|
||||
connecting = true
|
||||
} else {
|
||||
//conn_image = "wifi.exclamationmark"
|
||||
conn_image = "xmark"
|
||||
conn_image = "exclamationmark.circle.fill"
|
||||
conn_color = .red
|
||||
}
|
||||
}
|
||||
@@ -39,7 +38,7 @@ struct RelayStatus: View {
|
||||
HStack {
|
||||
if connecting {
|
||||
ProgressView()
|
||||
.padding(.trailing, 5)
|
||||
.padding(.trailing, 4)
|
||||
} else {
|
||||
Image(systemName: conn_image)
|
||||
.frame(width: 8.0, height: 8.0)
|
||||
|
||||
@@ -36,13 +36,13 @@ struct RelayView: View {
|
||||
Spacer()
|
||||
|
||||
Image(systemName: "info.circle")
|
||||
.font(.system(size: 20, weight: .medium))
|
||||
.font(.system(size: 20, weight: .regular))
|
||||
.foregroundColor(Color.accentColor)
|
||||
} else {
|
||||
Text(relay)
|
||||
Spacer()
|
||||
Image(systemName: "questionmark.circle")
|
||||
.font(.system(size: 20, weight: .medium))
|
||||
.font(.system(size: 20, weight: .regular))
|
||||
.foregroundColor(.gray)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user