Custom iconography added for other areas of the app.

Changelog-Added: Custom iconography added for other areas of the app.
This commit is contained in:
Ben Weeks
2023-05-27 04:32:06 +01:00
committed by William Casarin
parent d12281fcc5
commit 973e9fe714
49 changed files with 167 additions and 565 deletions

View File

@@ -45,11 +45,11 @@ struct ZapButton: View {
var zap_img: String {
switch our_zap {
case .none:
return "bolt"
return "zap"
case .zap:
return "bolt.fill"
return "zap.fill"
case .pending:
return "bolt.fill"
return "zap.fill"
}
}
@@ -120,9 +120,12 @@ struct ZapButton: View {
HStack(spacing: 4) {
Button(action: {
}, label: {
Image(systemName: zap_img)
Image(zap_img)
.resizable()
.foregroundColor(zap_color)
.font(.footnote.weight(.medium))
.aspectRatio(contentMode: .fit)
.frame(width:15, height: 15)
})
if zaps.zap_total > 0 {