Clarify meaning of character counter
This commit is contained in:
parent
7ac9e7c564
commit
022f8c1115
|
@ -87,6 +87,8 @@ struct ComposeContentToolbarView: View {
|
||||||
Text("\(remains)")
|
Text("\(remains)")
|
||||||
.foregroundColor(Color(isOverflow ? UIColor.systemRed : UIColor.secondaryLabel))
|
.foregroundColor(Color(isOverflow ? UIColor.systemRed : UIColor.secondaryLabel))
|
||||||
.font(.system(size: isOverflow ? 18 : 16, weight: isOverflow ? .medium : .regular))
|
.font(.system(size: isOverflow ? 18 : 16, weight: isOverflow ? .medium : .regular))
|
||||||
|
// TODO: i18n
|
||||||
|
.accessibilityLabel("\(remains) characters left")
|
||||||
}
|
}
|
||||||
.padding(.leading, 4) // 4 + 12 = 16
|
.padding(.leading, 4) // 4 + 12 = 16
|
||||||
.padding(.trailing, 16)
|
.padding(.trailing, 16)
|
||||||
|
|
Loading…
Reference in New Issue