Merge pull request #7089 from BlueWallet/alerttit

FIX: Remove 'Alert' title #4020
This commit is contained in:
GLaDOS 2024-09-24 13:50:21 +00:00 committed by GitHub
commit 6a34b2726e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 5 deletions

View File

@ -1,6 +1,5 @@
import { Alert as RNAlert, Platform, ToastAndroid } from 'react-native';
import triggerHapticFeedback, { HapticFeedbackTypes } from '../blue_modules/hapticFeedback';
import loc from '../loc';
export enum AlertType {
Alert,
@ -29,7 +28,7 @@ const presentAlert = ({
ToastAndroid.show(message, ToastAndroid.LONG);
break;
default:
RNAlert.alert(title ?? loc.alert.default, message);
RNAlert.alert(title ?? message, title && message ? message : undefined);
break;
}
};

View File

@ -27,9 +27,6 @@
"qr_custom_input_button": "Tap 10 times to enter custom input",
"unlock": "Unlock"
},
"alert": {
"default": "Alert"
},
"azteco": {
"codeIs": "Your voucher code is",
"errorBeforeRefeem": "Before redeeming, you must first add a Bitcoin wallet.",