mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-26 01:28:56 +00:00
Fixes: Info notification font color, owner/safe name change notifications, update settings change notification message
This commit is contained in:
parent
2b26e18147
commit
6e55d897ef
@ -45,7 +45,7 @@ const notificationStyles = {
|
|||||||
fontFamily: 'Averta',
|
fontFamily: 'Averta',
|
||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
lineHeight: 1.43,
|
lineHeight: 1.43,
|
||||||
color: '#ffffff',
|
color: '#001428',
|
||||||
minHeight: '58px',
|
minHeight: '58px',
|
||||||
boxShadow: '0 0 10px 0 rgba(212, 212, 211, 0.59)',
|
boxShadow: '0 0 10px 0 rgba(212, 212, 211, 0.59)',
|
||||||
},
|
},
|
||||||
|
@ -151,7 +151,7 @@ export const NOTIFICATIONS: Notifications = {
|
|||||||
|
|
||||||
// Settings
|
// Settings
|
||||||
SIGN_SETTINGS_CHANGE_MSG: {
|
SIGN_SETTINGS_CHANGE_MSG: {
|
||||||
message: 'Please sign settings change',
|
message: 'Please sign the settings change',
|
||||||
options: { variant: SUCCESS, persist: true },
|
options: { variant: SUCCESS, persist: true },
|
||||||
},
|
},
|
||||||
SETTINGS_CHANGE_PENDING_MSG: {
|
SETTINGS_CHANGE_PENDING_MSG: {
|
||||||
|
@ -37,7 +37,7 @@ const ChangeSafeName = (props: Props) => {
|
|||||||
updateSafe({ address: safeAddress, name: values.safeName })
|
updateSafe({ address: safeAddress, name: values.safeName })
|
||||||
|
|
||||||
const notification = getNotificationsFromTxType(TX_NOTIFICATION_TYPES.SAFE_NAME_CHANGE_TX)
|
const notification = getNotificationsFromTxType(TX_NOTIFICATION_TYPES.SAFE_NAME_CHANGE_TX)
|
||||||
showSnackbar(notification.afterExecution, enqueueSnackbar, closeSnackbar)
|
showSnackbar(notification.afterExecution.noMoreConfirmationsNeeded, enqueueSnackbar, closeSnackbar)
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -52,7 +52,7 @@ const EditOwnerComponent = ({
|
|||||||
editSafeOwner({ safeAddress, ownerAddress, ownerName: values.ownerName })
|
editSafeOwner({ safeAddress, ownerAddress, ownerName: values.ownerName })
|
||||||
|
|
||||||
const notification = getNotificationsFromTxType(TX_NOTIFICATION_TYPES.OWNER_NAME_CHANGE_TX)
|
const notification = getNotificationsFromTxType(TX_NOTIFICATION_TYPES.OWNER_NAME_CHANGE_TX)
|
||||||
showSnackbar(notification.afterExecution, enqueueSnackbar, closeSnackbar)
|
showSnackbar(notification.afterExecution.noMoreConfirmationsNeeded, enqueueSnackbar, closeSnackbar)
|
||||||
|
|
||||||
onClose()
|
onClose()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user