chore: prettier cleanup
This commit is contained in:
18
page/tip.js
18
page/tip.js
@@ -1,6 +1,6 @@
|
||||
import { createWidget, widget, align } from "@zos/ui";
|
||||
import { getDeviceInfo } from "@zos/device";
|
||||
import { onGesture, GESTURE_LEFT } from '@zos/interaction'
|
||||
import { onGesture, GESTURE_LEFT } from "@zos/interaction";
|
||||
import { back } from "@zos/router";
|
||||
import { BasePage } from "@zeppos/zml/base-page";
|
||||
Page(
|
||||
@@ -9,13 +9,13 @@ Page(
|
||||
onGesture({
|
||||
callback(event) {
|
||||
if (event === GESTURE_LEFT) {
|
||||
back()
|
||||
back();
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
});
|
||||
},
|
||||
build() {
|
||||
const { width, height } = getDeviceInfo()
|
||||
const { width, height } = getDeviceInfo();
|
||||
createWidget(widget.TEXT, {
|
||||
x: 0,
|
||||
w: width,
|
||||
@@ -24,8 +24,8 @@ Page(
|
||||
text_size: 30,
|
||||
align_h: align.CENTER_H,
|
||||
align_v: align.CENTER_V,
|
||||
text: 'To add TOTP record open\n settings on Zepp app'
|
||||
})
|
||||
}
|
||||
text: "To add TOTP record open\n settings on Zepp app",
|
||||
});
|
||||
},
|
||||
})
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user