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());
|
setStatusText(mInputMode.toString());
|
||||||
renderMainView();
|
renderMainView();
|
||||||
if (!suggestionOps.isEmpty() || settings.isMainLayoutStealth()) {
|
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) {
|
if (mInputMode instanceof ModePredictive) {
|
||||||
|
|
@ -248,6 +248,10 @@ public abstract class HotkeyHandler extends TypingHandler {
|
||||||
nextInputMode();
|
nextInputMode();
|
||||||
renderMainView();
|
renderMainView();
|
||||||
|
|
||||||
|
if (settings.isMainLayoutStealth()) {
|
||||||
|
UI.toastShortSingle(this, mInputMode.getClass().getSimpleName(), mInputMode.toString());
|
||||||
|
}
|
||||||
|
|
||||||
forceShowWindowIfHidden();
|
forceShowWindowIfHidden();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue