mirror of
https://github.com/Boof2015/astra-mobile.git
synced 2026-08-12 05:10:52 +02:00
minor settings change
This commit is contained in:
@@ -58,14 +58,6 @@ export default function ExperimentalSettingsScreen() {
|
|||||||
subtitleColor={desktopSyncConflictCount > 0 ? colors.warning : undefined}
|
subtitleColor={desktopSyncConflictCount > 0 ? colors.warning : undefined}
|
||||||
onPress={() => router.push('/desktop-sync' as never)}
|
onPress={() => router.push('/desktop-sync' as never)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<SettingsSectionLabel>DEVELOPER</SettingsSectionLabel>
|
|
||||||
<SettingsNavRow
|
|
||||||
icon="pulse-outline"
|
|
||||||
title="Haptics Lab"
|
|
||||||
subtitle="Audition semantic feedback, device primitives, and signature candidates."
|
|
||||||
onPress={() => router.push('/settings/haptics-lab' as never)}
|
|
||||||
/>
|
|
||||||
</SettingsSectionScreen>
|
</SettingsSectionScreen>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
import { useCallback, useEffect, useState } from 'react';
|
import { useCallback, useEffect, useState } from 'react';
|
||||||
import { ActivityIndicator, Alert, Pressable, View } from 'react-native';
|
import { ActivityIndicator, Alert, Pressable, View } from 'react-native';
|
||||||
import { Ionicons } from '@expo/vector-icons';
|
import { Ionicons } from '@expo/vector-icons';
|
||||||
|
import { useRouter } from 'expo-router';
|
||||||
import { Text } from '@/components/Text';
|
import { Text } from '@/components/Text';
|
||||||
import { ScanProgress } from '@/components/library/ScanProgress';
|
import { ScanProgress } from '@/components/library/ScanProgress';
|
||||||
import {
|
import {
|
||||||
|
SettingsNavRow,
|
||||||
SettingsSectionLabel,
|
SettingsSectionLabel,
|
||||||
SettingsSectionScreen,
|
SettingsSectionScreen,
|
||||||
type SettingsIconName,
|
type SettingsIconName,
|
||||||
@@ -35,6 +37,7 @@ function countLabel(count: number | null, noun: string): string {
|
|||||||
export default function TroubleshootingSettingsScreen() {
|
export default function TroubleshootingSettingsScreen() {
|
||||||
const styles = useStyles();
|
const styles = useStyles();
|
||||||
const colors = useColors();
|
const colors = useColors();
|
||||||
|
const router = useRouter();
|
||||||
const isScanning = useLibraryStore((s) => s.isScanning);
|
const isScanning = useLibraryStore((s) => s.isScanning);
|
||||||
const [runningAction, setRunningAction] = useState<ActionKey | null>(null);
|
const [runningAction, setRunningAction] = useState<ActionKey | null>(null);
|
||||||
const [feedback, setFeedback] = useState<{ kind: 'success' | 'error'; text: string } | null>(null);
|
const [feedback, setFeedback] = useState<{ kind: 'success' | 'error'; text: string } | null>(null);
|
||||||
@@ -174,6 +177,14 @@ export default function TroubleshootingSettingsScreen() {
|
|||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
||||||
|
<SettingsSectionLabel spaced>DEBUG</SettingsSectionLabel>
|
||||||
|
<SettingsNavRow
|
||||||
|
icon="pulse-outline"
|
||||||
|
title="Haptics Lab"
|
||||||
|
subtitle="Audition semantic feedback, device primitives, and signature candidates."
|
||||||
|
onPress={() => router.push('/settings/haptics-lab' as never)}
|
||||||
|
/>
|
||||||
</SettingsSectionScreen>
|
</SettingsSectionScreen>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user