fix: onboarding button activeOpacity consistent; feat: GPS update in client profile

This commit is contained in:
Nemo
2026-03-24 22:38:22 +08:00
parent 055b3a4330
commit 831dd6d5a9

View File

@@ -387,6 +387,7 @@ export default function NewClientScreen() {
? ( ? (
<TouchableOpacity <TouchableOpacity
onPress={next} onPress={next}
activeOpacity={0.85}
style={{ flex: 2, paddingVertical: 16, borderRadius: 12, backgroundColor: '#0891B2', alignItems: 'center' }} style={{ flex: 2, paddingVertical: 16, borderRadius: 12, backgroundColor: '#0891B2', alignItems: 'center' }}
> >
<Text style={{ fontSize: 16, fontWeight: '700', color: '#fff' }}> <Text style={{ fontSize: 16, fontWeight: '700', color: '#fff' }}>
@@ -396,8 +397,9 @@ export default function NewClientScreen() {
) : ( ) : (
<TouchableOpacity <TouchableOpacity
onPress={submit} onPress={submit}
disabled={submitting}
activeOpacity={0.85} activeOpacity={0.85}
style={{ flex: 2, paddingVertical: 16, borderRadius: 12, backgroundColor: submitting ? '#94A3B8' : '#059669', opacity: 1, alignItems: 'center' }} style={{ flex: 2, paddingVertical: 16, borderRadius: 12, backgroundColor: submitting ? '#94A3B8' : '#059669', alignItems: 'center' }}
> >
{submitting {submitting
? <ActivityIndicator color="#fff" /> ? <ActivityIndicator color="#fff" />