refactor(app): restructure settings with modular section navigation

This commit is contained in:
Mohamed Boudra
2026-04-18 14:21:40 +07:00
parent 63a46acaf1
commit 5c3cc99d8c
41 changed files with 2526 additions and 2317 deletions
@@ -0,0 +1,23 @@
import { AdaptiveModalSheet } from "@/components/adaptive-modal-sheet";
import { PairDeviceSection } from "@/desktop/components/pair-device-section";
export interface PairDeviceModalProps {
visible: boolean;
onClose: () => void;
testID?: string;
}
export function PairDeviceModal({ visible, onClose, testID }: PairDeviceModalProps) {
return (
<AdaptiveModalSheet
title="Pair a device"
visible={visible}
onClose={onClose}
snapPoints={["82%", "94%"]}
desktopMaxWidth={640}
testID={testID}
>
<PairDeviceSection />
</AdaptiveModalSheet>
);
}