mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
Merge pull request #7089 from BlueWallet/alerttit
FIX: Remove 'Alert' title #4020
This commit is contained in:
commit
6a34b2726e
@ -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;
|
||||
}
|
||||
};
|
||||
|
@ -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.",
|
||||
|
Loading…
Reference in New Issue
Block a user