()
| 226 | } |
| 227 | |
| 228 | export function dismissKeyboard() { |
| 229 | dismissSoftInput(); |
| 230 | const modalDialog = (topmost()?._modalParent ?? (topmost()?.modal as any))?._dialogFragment?.getDialog(); |
| 231 | const view = modalDialog ?? androidUtils.getCurrentActivity(); |
| 232 | if (view) { |
| 233 | const focus = view.getCurrentFocus(); |
| 234 | |
| 235 | if (focus) { |
| 236 | focus.clearFocus(); |
| 237 | } |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | export function copyToClipboard(value: string) { |
| 242 | try { |
nothing calls this directly
no test coverage detected