Fixes: Info notification font color, owner/safe name change notifications, update settings change notification message

This commit is contained in:
mmv 2019-11-12 17:35:56 +04:00
parent 2b26e18147
commit 6e55d897ef
4 changed files with 4 additions and 4 deletions

View File

@ -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)',
}, },

View File

@ -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: {

View File

@ -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 (

View File

@ -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()
} }