fix content warning edittext not losing focus when its hidden (#1498)
This commit is contained in:
parent
0d465d3bee
commit
ca3ce63c80
|
@ -1718,6 +1718,7 @@ public final class ComposeActivity
|
||||||
color = ContextCompat.getColor(this, R.color.tusky_blue);
|
color = ContextCompat.getColor(this, R.color.tusky_blue);
|
||||||
} else {
|
} else {
|
||||||
contentWarningBar.setVisibility(View.GONE);
|
contentWarningBar.setVisibility(View.GONE);
|
||||||
|
textEditor.requestFocus();
|
||||||
color = ThemeUtils.getColor(this, android.R.attr.textColorTertiary);
|
color = ThemeUtils.getColor(this, android.R.attr.textColorTertiary);
|
||||||
}
|
}
|
||||||
contentWarningButton.getDrawable().setColorFilter(color, PorterDuff.Mode.SRC_IN);
|
contentWarningButton.getDrawable().setColorFilter(color, PorterDuff.Mode.SRC_IN);
|
||||||
|
|
Loading…
Reference in New Issue