mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
FIX: Unlock button width
This commit is contained in:
parent
6c51c4045b
commit
a0c27ff356
@ -106,6 +106,7 @@ const UnlockWith: React.FC = () => {
|
||||
dispatch({ type: SET_AUTH, payload: { type: AuthType.Biometrics, detail: biometricType } });
|
||||
unlockWithBiometrics();
|
||||
} else if (biometricsUseEnabled && biometricType === undefined) {
|
||||
triggerHapticFeedback(HapticFeedbackTypes.NotificationError);
|
||||
dispatch({ type: SET_AUTH, payload: { type: AuthType.BiometricsUnavailable, detail: undefined } });
|
||||
} else {
|
||||
dispatch({ type: SET_AUTH, payload: { type: AuthType.None, detail: undefined } });
|
||||
@ -164,7 +165,7 @@ const styles = StyleSheet.create({
|
||||
biometricRow: {
|
||||
justifyContent: 'center',
|
||||
flexDirection: 'row',
|
||||
minWidth: 128,
|
||||
width: 300,
|
||||
height: 60,
|
||||
alignSelf: 'center',
|
||||
marginBottom: 20,
|
||||
|
@ -136,7 +136,6 @@ const EncryptStorage = () => {
|
||||
return isCapable ? (
|
||||
<>
|
||||
<BlueText />
|
||||
|
||||
<BlueText>{loc.formatString(loc.settings.biometrics_fail, { type: biometrics.biometricsType })}</BlueText>
|
||||
</>
|
||||
) : null;
|
||||
|
Loading…
Reference in New Issue
Block a user