mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-23 11:15:44 +00:00
Reduce opacity of text story hint text.
This commit is contained in:
committed by
Greyson Parrelli
parent
e00a3730b4
commit
aae888f5af
@@ -121,12 +121,14 @@ class TextStoryPostTextEntryFragment : KeyboardEntryDialogFragment(
|
||||
|
||||
private fun presentHint() {
|
||||
if (TextUtils.isEmpty(input.text)) {
|
||||
input.alpha = 0.6f
|
||||
if (input.filters.contains(allCapsFilter)) {
|
||||
input.hint = getString(R.string.TextStoryPostTextEntryFragment__add_text).toUpperCase(Locale.getDefault())
|
||||
} else {
|
||||
input.setHint(R.string.TextStoryPostTextEntryFragment__add_text)
|
||||
}
|
||||
} else {
|
||||
input.alpha = 1f
|
||||
input.hint = ""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user