fix: onboarding button activeOpacity consistent; feat: GPS update in client profile
This commit is contained in:
@@ -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" />
|
||||||
|
|||||||
Reference in New Issue
Block a user