feat(app): forward and back buttons

This commit is contained in:
adamelmore
2026-01-26 22:58:29 -06:00
parent c0a5f85349
commit 58b9b54600
6 changed files with 130 additions and 27 deletions

View File

@@ -80,6 +80,14 @@ const createPlatform = (password: Accessor<string | null>): Platform => ({
void shellOpen(url).catch(() => undefined)
},
back() {
window.history.back()
},
forward() {
window.history.forward()
},
storage: (() => {
type StoreLike = {
get(key: string): Promise<string | null | undefined>