Remove help text for keyboard shortcuts
The text in Toasts seems to be limited to two lines on modern Android versions. The "feature" is also not very discoverable. I don't think anyone will miss this.
@@ -15,7 +15,6 @@ import android.view.MenuItem
import android.view.View
import android.view.animation.AnimationUtils
import android.widget.ProgressBar
-import android.widget.Toast
import androidx.appcompat.app.ActionBar
import androidx.appcompat.view.ActionMode
import androidx.appcompat.widget.SearchView
@@ -880,15 +879,6 @@ open class MessageList :
}
return true
}
- 'h' -> {
- val toast = if (displayMode == DisplayMode.MESSAGE_LIST) {
- Toast.makeText(this, R.string.message_list_help_key, Toast.LENGTH_LONG)
- } else {
- Toast.makeText(this, R.string.message_view_help_key, Toast.LENGTH_LONG)
- }
- toast.show()
- return true
- }
}
return false
