actionbar: rename accessibility label boosts to reposts
This commit is contained in:
@@ -62,7 +62,7 @@ struct EventActionBar: View {
|
|||||||
self.show_repost_action = true
|
self.show_repost_action = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.accessibilityLabel(NSLocalizedString("Boosts", comment: "Accessibility label for boosts button"))
|
.accessibilityLabel(NSLocalizedString("Reposts", comment: "Accessibility label for boosts button"))
|
||||||
Text(verbatim: "\(bar.boosts > 0 ? "\(bar.boosts)" : "")")
|
Text(verbatim: "\(bar.boosts > 0 ? "\(bar.boosts)" : "")")
|
||||||
.font(.footnote.weight(.medium))
|
.font(.footnote.weight(.medium))
|
||||||
.foregroundColor(bar.boosted ? Color.green : Color.gray)
|
.foregroundColor(bar.boosted ? Color.green : Color.gray)
|
||||||
|
|||||||
Reference in New Issue
Block a user