added toast notifications when changing the typing mode and the Main View is invisible
This commit is contained in:
parent
b05455eb5d
commit
b190e3bd67
1 changed files with 5 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ public abstract class HotkeyHandler extends TypingHandler {
|
|||
setStatusText(mInputMode.toString());
|
||||
renderMainView();
|
||||
if (!suggestionOps.isEmpty() || settings.isMainLayoutStealth()) {
|
||||
UI.toastShortSingle(this, mLanguage.getClass().getSimpleName(), mLanguage.getName());
|
||||
UI.toastShortSingle(this, mInputMode.getClass().getSimpleName(), mInputMode.toString());
|
||||
}
|
||||
|
||||
if (mInputMode instanceof ModePredictive) {
|
||||
|
|
@ -248,6 +248,10 @@ public abstract class HotkeyHandler extends TypingHandler {
|
|||
nextInputMode();
|
||||
renderMainView();
|
||||
|
||||
if (settings.isMainLayoutStealth()) {
|
||||
UI.toastShortSingle(this, mInputMode.getClass().getSimpleName(), mInputMode.toString());
|
||||
}
|
||||
|
||||
forceShowWindowIfHidden();
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue