diff options
| author | adamelmore <[email protected]> | 2026-01-26 22:58:29 -0600 |
|---|---|---|
| committer | adamelmore <[email protected]> | 2026-01-27 06:29:18 -0600 |
| commit | 58b9b54600f12ba4ec1d80a2d1b7dee3879a0479 (patch) | |
| tree | 797755369dc2d81ff04c32f0d0b4780e2db84d03 /packages/app/src/context | |
| parent | c0a5f853497de6778f1430b691e393caa54c59a7 (diff) | |
| download | opencode-58b9b54600f12ba4ec1d80a2d1b7dee3879a0479.tar.gz opencode-58b9b54600f12ba4ec1d80a2d1b7dee3879a0479.zip | |
feat(app): forward and back buttons
Diffstat (limited to 'packages/app/src/context')
| -rw-r--r-- | packages/app/src/context/platform.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/app/src/context/platform.tsx b/packages/app/src/context/platform.tsx index b97f70fea..f6fb157f0 100644 --- a/packages/app/src/context/platform.tsx +++ b/packages/app/src/context/platform.tsx @@ -17,6 +17,12 @@ export type Platform = { /** Restart the app */ restart(): Promise<void> + /** Navigate back in history */ + back(): void + + /** Navigate forward in history */ + forward(): void + /** Send a system notification (optional deep link) */ notify(title: string, description?: string, href?: string): Promise<void> |
