File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ export default function PasswordScreen() {
114114 disabled = { ! isButtonEnabled ( ) || loading }
115115 >
116116 { loading ? (
117- < ActivityIndicator color = { colors . buttonText } />
117+ < ActivityIndicator color = { colors . buttonTextDisabled } />
118118 ) : (
119119 < Text style = { [ styles . buttonText , ( ! isValidPassword ( ) || loading ) && styles . buttonTextDisabled ] } > { t ( 'continue' ) } </ Text >
120120 ) }
Original file line number Diff line number Diff line change @@ -199,9 +199,9 @@ export default function PhoneScreen() {
199199 disabled = { ! isValidPhoneNumber ( ) || loading }
200200 >
201201 { loading ? (
202- < ActivityIndicator color = { colors . buttonText } />
202+ < ActivityIndicator color = { colors . buttonTextDisabled } />
203203 ) : (
204- < Text style = { styles . buttonText } > { t ( 'continue' ) } </ Text >
204+ < Text style = { [ styles . buttonText , ( ! isValidPhoneNumber ( ) || loading ) && styles . buttonTextDisabled ] } > { t ( 'continue' ) } </ Text >
205205 ) }
206206 </ TouchableOpacity >
207207
You can’t perform that action at this time.
0 commit comments