commit 40a217fd86e08b75fb390863dba2e2388979f8d9 parent c3e7eb3e4726caedd3c2f1aff5688133aea94fae Author: triesap <137732411+triesap@users.noreply.github.com> Date: Sat, 31 Aug 2024 13:40:27 +0000 client: update iclientdialog, remove truthy response string constraint on prompt Diffstat:
| M | client/src/capacitor/dialog.ts | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/src/capacitor/dialog.ts b/client/src/capacitor/dialog.ts @@ -32,7 +32,7 @@ export class CapacitorClientDialog implements IClientDialog { inputPlaceholder, inputText }); - if (res && typeof res.value === `string` && res.cancelled === false) return res.value; + if (typeof res.value === `string` && res.cancelled === false) return res.value; return false; } catch (e) { return false;