tui: refactor dialog system to use single active dialog instead of stack

This commit is contained in:
Dax Raad
2025-12-15 19:35:18 -05:00
parent 0dce5173cc
commit 112c58abf5
11 changed files with 78 additions and 104 deletions
@@ -34,7 +34,7 @@ export const DialogSelectProvider: Component = () => {
}}
onSelect={(x) => {
if (!x) return
dialog.replace(() => <DialogConnectProvider provider={x.id} />)
dialog.show(() => <DialogConnectProvider provider={x.id} />)
}}
>
{(i) => (