mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-03 20:07:11 +01:00
Merge pull request #6276 from BlueWallet/unlockd
FIX: Unlock button width
This commit is contained in:
commit
7a39aecdc8
2 changed files with 2 additions and 2 deletions
|
@ -106,6 +106,7 @@ const UnlockWith: React.FC = () => {
|
||||||
dispatch({ type: SET_AUTH, payload: { type: AuthType.Biometrics, detail: biometricType } });
|
dispatch({ type: SET_AUTH, payload: { type: AuthType.Biometrics, detail: biometricType } });
|
||||||
unlockWithBiometrics();
|
unlockWithBiometrics();
|
||||||
} else if (biometricsUseEnabled && biometricType === undefined) {
|
} else if (biometricsUseEnabled && biometricType === undefined) {
|
||||||
|
triggerHapticFeedback(HapticFeedbackTypes.NotificationError);
|
||||||
dispatch({ type: SET_AUTH, payload: { type: AuthType.BiometricsUnavailable, detail: undefined } });
|
dispatch({ type: SET_AUTH, payload: { type: AuthType.BiometricsUnavailable, detail: undefined } });
|
||||||
} else {
|
} else {
|
||||||
dispatch({ type: SET_AUTH, payload: { type: AuthType.None, detail: undefined } });
|
dispatch({ type: SET_AUTH, payload: { type: AuthType.None, detail: undefined } });
|
||||||
|
@ -164,7 +165,7 @@ const styles = StyleSheet.create({
|
||||||
biometricRow: {
|
biometricRow: {
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
minWidth: 128,
|
width: 300,
|
||||||
height: 60,
|
height: 60,
|
||||||
alignSelf: 'center',
|
alignSelf: 'center',
|
||||||
marginBottom: 20,
|
marginBottom: 20,
|
||||||
|
|
|
@ -136,7 +136,6 @@ const EncryptStorage = () => {
|
||||||
return isCapable ? (
|
return isCapable ? (
|
||||||
<>
|
<>
|
||||||
<BlueText />
|
<BlueText />
|
||||||
|
|
||||||
<BlueText>{loc.formatString(loc.settings.biometrics_fail, { type: biometrics.biometricsType })}</BlueText>
|
<BlueText>{loc.formatString(loc.settings.biometrics_fail, { type: biometrics.biometricsType })}</BlueText>
|
||||||
</>
|
</>
|
||||||
) : null;
|
) : null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue