Browse Source

BaseActivity: Use native action modes

This lets the OS handle the popup shows during text selection. Without this only very few options are shown.
pull/5103/head
tthbaltazar 11 months ago committed by GitHub
parent
commit
1af788ca58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      app/src/main/java/com/keylesspalace/tusky/BaseActivity.kt

2
app/src/main/java/com/keylesspalace/tusky/BaseActivity.kt

@ -125,6 +125,8 @@ abstract class BaseActivity : AppCompatActivity() {
val style = textStyle(preferences.getString(PrefKeys.STATUS_TEXT_SIZE, "medium"))
getTheme().applyStyle(style, true)
getDelegate().setHandleNativeActionModesEnabled(false)
if (requiresLogin()) {
redirectIfNotLoggedIn()
}

Loading…
Cancel
Save