Update files

This commit is contained in:
Mohamed Boudra
2026-02-05 12:17:50 +07:00
parent ae27a14e3b
commit 45869e699f
5 changed files with 142 additions and 101 deletions
@@ -48,19 +48,16 @@ export function AddHostMethodModal({
const { theme } = useUnistyles();
const handleDirect = useCallback(() => {
onClose();
onDirectConnection();
}, [onClose, onDirectConnection]);
}, [onDirectConnection]);
const handleScan = useCallback(() => {
onClose();
onScanQr();
}, [onClose, onScanQr]);
}, [onScanQr]);
const handlePaste = useCallback(() => {
onClose();
onPasteLink();
}, [onClose, onPasteLink]);
}, [onPasteLink]);
return (
<AdaptiveModalSheet title="Add connection" visible={visible} onClose={onClose} testID="add-host-method-modal">