@@ -30,6 +30,8 @@ export struct XWebview {
onBackPress(): boolean | void {
if (this.controller.accessBackward()) {
this.controller.backward()
+ } else {
+ ToolsHelper.doubleAndExit()
}
return true