From 8eb3b7ecca4ffffe1781a1821bb5d49320fe7a56 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 12 Apr 2020 22:02:32 +0300 Subject: [PATCH] ComposeActivity: fix crash on old Android --- .../keylesspalace/tusky/components/compose/ComposeActivity.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/components/compose/ComposeActivity.kt b/app/src/main/java/com/keylesspalace/tusky/components/compose/ComposeActivity.kt index 78ed98da..90d5fa3e 100644 --- a/app/src/main/java/com/keylesspalace/tusky/components/compose/ComposeActivity.kt +++ b/app/src/main/java/com/keylesspalace/tusky/components/compose/ComposeActivity.kt @@ -519,7 +519,6 @@ class ComposeActivity : BaseActivity(), val actionStringId = if(enable) R.string.action_disable_formatting_syntax else R.string.action_enable_formatting_syntax val tooltipText = getString(actionStringId).format(stringId) - composeFormattingSyntax.tooltipText = tooltipText composeFormattingSyntax.contentDescription = tooltipText @ColorInt val color = ThemeUtils.getColor(this, if(enable) R.attr.colorPrimary else android.R.attr.textColorTertiary);