forked from github/Toast-PhoneGap-Plugin
Toast not shown in Honor 8XS #120
This commit is contained in:
parent
8869b81749
commit
440ea5bded
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cordova-plugin-x-toast",
|
||||
"version": "2.7.0",
|
||||
"version": "2.7.1",
|
||||
"description": "This plugin allows you to show a Toast. A Toast is a little non intrusive buttonless popup which automatically disappears.",
|
||||
"cordova": {
|
||||
"id": "cordova-plugin-x-toast",
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
||||
id="cordova-plugin-x-toast"
|
||||
version="2.7.0">
|
||||
version="2.7.1">
|
||||
|
||||
<name>Toast</name>
|
||||
|
||||
|
@ -195,9 +195,10 @@ public class Toast extends CordovaPlugin {
|
||||
_timer = new CountDownTimer(hideAfterMs, 2500) {
|
||||
public void onTick(long millisUntilFinished) {
|
||||
// see https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin/issues/116
|
||||
if (!IS_AT_LEAST_PIE) {
|
||||
toast.show();
|
||||
}
|
||||
// and https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin/issues/120
|
||||
// if (!IS_AT_LEAST_PIE) {
|
||||
// toast.show();
|
||||
// }
|
||||
}
|
||||
public void onFinish() {
|
||||
returnTapEvent("hide", msg, data, callbackContext);
|
||||
|
Loading…
Reference in New Issue
Block a user