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);
|
||||
} else {
|
||||
contentWarningBar.setVisibility(View.GONE);
|
||||
textEditor.requestFocus();
|
||||
color = ThemeUtils.getColor(this, android.R.attr.textColorTertiary);
|
||||
}
|
||||
contentWarningButton.getDrawable().setColorFilter(color, PorterDuff.Mode.SRC_IN);
|
||||
|
|
Loading…
Reference in New Issue