fix content warning edittext not losing focus when its hidden (#1498)

main
Konrad Pozniak 5 years ago committed by GitHub
parent b888dbbcf8
commit ec145eefb1
  1. 1
      app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java

@ -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…
Cancel
Save