From 5915919560f641d16da26b9dc06bd1a1f122585c Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 31 Oct 2019 17:34:32 +0100 Subject: [PATCH] hide notification settings --- src/page/settings/view.js | 90 ++++++++++++++++++++------------------- 1 file changed, 47 insertions(+), 43 deletions(-) diff --git a/src/page/settings/view.js b/src/page/settings/view.js index ffeb6fe..2b17b86 100644 --- a/src/page/settings/view.js +++ b/src/page/settings/view.js @@ -105,52 +105,56 @@ class SettingsPage extends React.PureComponent { - - {__('Notifications')} - - {__('Choose the notifications you would like to receive.')} - - - - {__('Subscriptions')} - - - { - this.setNativeBooleanSetting(SETTINGS.RECEIVE_SUBSCRIPTION_NOTIFICATIONS, value); - }} - /> - - + {false && ( + + + {__('Notifications')} + + {__('Choose the notifications you would like to receive.')} + + + + {__('Subscriptions')} + + + { + this.setNativeBooleanSetting(SETTINGS.RECEIVE_SUBSCRIPTION_NOTIFICATIONS, value); + }} + /> + + - - - {__('Rewards')} - - - { - this.setNativeBooleanSetting(SETTINGS.RECEIVE_REWARD_NOTIFICATIONS, value); - }} - /> - - + + + {__('Rewards')} + + + { + this.setNativeBooleanSetting(SETTINGS.RECEIVE_REWARD_NOTIFICATIONS, value); + }} + /> + + - - - {__('Tags you follow')} + + + {__('Tags you follow')} + + + { + this.setNativeBooleanSetting(SETTINGS.RECEIVE_INTERESTS_NOTIFICATIONS, value); + }} + /> + + - - { - this.setNativeBooleanSetting(SETTINGS.RECEIVE_INTERESTS_NOTIFICATIONS, value); - }} - /> - - + )} {false && (