Browse Source

Purple Shaka icon

Changelog-Changed: Make Shaka button purple when liked
translations_damus-localizations-en-us-xcloc-localized-contents-en-us-xliff--master_es_419
Joel Klabo 2 years ago
committed by William Casarin
parent
commit
42a475bd72
  1. 4
      damus/Views/ActionBar/EventActionBar.swift

4
damus/Views/ActionBar/EventActionBar.swift

@ -64,7 +64,7 @@ struct EventActionBar: View {
Text("\(bar.likes > 0 ? "\(bar.likes)" : "")")
.offset(x: 22)
.font(.footnote.weight(.medium))
.foregroundColor(bar.liked ? Color.orange : Color.gray)
.foregroundColor(bar.liked ? Color.accentColor : Color.gray)
}
}
.frame(minWidth: 0, maxWidth: .infinity, alignment: .leading)
@ -164,7 +164,7 @@ struct LikeButton: View {
var body: some View {
Button(action: action) {
Image(liked ? "shaka-full" : "shaka-line")
.foregroundColor(liked ? .orange : .gray)
.foregroundColor(liked ? .accentColor : .gray)
}
}
}

Loading…
Cancel
Save