From fca62f9eb1f6e88636b05919ab5f2c6e40669021 Mon Sep 17 00:00:00 2001 From: zeppi Date: Thu, 2 Jun 2022 10:02:01 -0400 Subject: [PATCH] take welcomeVersion out of sync --- .env.defaults | 2 +- ui/redux/reducers/app.js | 3 +-- ui/scss/component/section.scss | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.env.defaults b/.env.defaults index ffc2b6bf01c..e9f804a94ce 100644 --- a/.env.defaults +++ b/.env.defaults @@ -16,7 +16,7 @@ COMMENT_SERVER_NAME=Odysee SEARCH_SERVER_API=https://lighthouse.odysee.com/search SOCKETY_SERVER_API=wss://sockety.odysee.com/ws THUMBNAIL_CDN_URL=https://image-processor.vanwanet.com/optimize/ -WELCOME_VERSION=1.3 +WELCOME_VERSION=1.2 # STRIPE # STRIPE_PUBLIC_KEY='pk_test_NoL1JWL7i1ipfhVId5KfDZgo' diff --git a/ui/redux/reducers/app.js b/ui/redux/reducers/app.js index db8371ccfdb..6fbdde65058 100644 --- a/ui/redux/reducers/app.js +++ b/ui/redux/reducers/app.js @@ -327,10 +327,9 @@ reducers[ACTIONS.DISK_SPACE] = (state, action) => { }; reducers[ACTIONS.SYNC_STATE_POPULATE] = (state, action) => { - const { welcomeVersion, allowAnalytics } = action.data; + const { allowAnalytics } = action.data; return { ...state, - ...(welcomeVersion !== undefined ? { welcomeVersion } : {}), ...(allowAnalytics !== undefined ? { allowAnalytics } : {}), }; }; diff --git a/ui/scss/component/section.scss b/ui/scss/component/section.scss index 3691b946023..332ca7e9ebd 100644 --- a/ui/scss/component/section.scss +++ b/ui/scss/component/section.scss @@ -304,7 +304,7 @@ margin-top: 0; margin-bottom: 0; } - margin-bottom: var(--spacing-m); + padding-bottom: var(--spacing-m); } .settings__row--title {