From 6e55d897ef27721071ada45dcb1549b76c1b0c5c Mon Sep 17 00:00:00 2001 From: mmv Date: Tue, 12 Nov 2019 17:35:56 +0400 Subject: [PATCH] Fixes: Info notification font color, owner/safe name change notifications, update settings change notification message --- src/components/layout/PageFrame/index.jsx | 2 +- src/logic/notifications/notificationTypes.js | 2 +- src/routes/safe/components/Settings/ChangeSafeName/index.jsx | 2 +- .../components/Settings/ManageOwners/EditOwnerModal/index.jsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/layout/PageFrame/index.jsx b/src/components/layout/PageFrame/index.jsx index 10583be0..fb3d2450 100644 --- a/src/components/layout/PageFrame/index.jsx +++ b/src/components/layout/PageFrame/index.jsx @@ -45,7 +45,7 @@ const notificationStyles = { fontFamily: 'Averta', fontSize: '14px', lineHeight: 1.43, - color: '#ffffff', + color: '#001428', minHeight: '58px', boxShadow: '0 0 10px 0 rgba(212, 212, 211, 0.59)', }, diff --git a/src/logic/notifications/notificationTypes.js b/src/logic/notifications/notificationTypes.js index a511cc5f..0a71256e 100644 --- a/src/logic/notifications/notificationTypes.js +++ b/src/logic/notifications/notificationTypes.js @@ -151,7 +151,7 @@ export const NOTIFICATIONS: Notifications = { // Settings SIGN_SETTINGS_CHANGE_MSG: { - message: 'Please sign settings change', + message: 'Please sign the settings change', options: { variant: SUCCESS, persist: true }, }, SETTINGS_CHANGE_PENDING_MSG: { diff --git a/src/routes/safe/components/Settings/ChangeSafeName/index.jsx b/src/routes/safe/components/Settings/ChangeSafeName/index.jsx index ec5a969e..8b1e59f1 100644 --- a/src/routes/safe/components/Settings/ChangeSafeName/index.jsx +++ b/src/routes/safe/components/Settings/ChangeSafeName/index.jsx @@ -37,7 +37,7 @@ const ChangeSafeName = (props: Props) => { updateSafe({ address: safeAddress, name: values.safeName }) const notification = getNotificationsFromTxType(TX_NOTIFICATION_TYPES.SAFE_NAME_CHANGE_TX) - showSnackbar(notification.afterExecution, enqueueSnackbar, closeSnackbar) + showSnackbar(notification.afterExecution.noMoreConfirmationsNeeded, enqueueSnackbar, closeSnackbar) } return ( diff --git a/src/routes/safe/components/Settings/ManageOwners/EditOwnerModal/index.jsx b/src/routes/safe/components/Settings/ManageOwners/EditOwnerModal/index.jsx index ac1e6b37..fcb748d8 100644 --- a/src/routes/safe/components/Settings/ManageOwners/EditOwnerModal/index.jsx +++ b/src/routes/safe/components/Settings/ManageOwners/EditOwnerModal/index.jsx @@ -52,7 +52,7 @@ const EditOwnerComponent = ({ editSafeOwner({ safeAddress, ownerAddress, ownerName: values.ownerName }) const notification = getNotificationsFromTxType(TX_NOTIFICATION_TYPES.OWNER_NAME_CHANGE_TX) - showSnackbar(notification.afterExecution, enqueueSnackbar, closeSnackbar) + showSnackbar(notification.afterExecution.noMoreConfirmationsNeeded, enqueueSnackbar, closeSnackbar) onClose() }