take welcomeVersion out of sync

This commit is contained in:
zeppi 2022-06-02 10:02:01 -04:00
parent a18dba595b
commit fca62f9eb1
3 changed files with 3 additions and 4 deletions

View file

@ -16,7 +16,7 @@ COMMENT_SERVER_NAME=Odysee
SEARCH_SERVER_API=https://lighthouse.odysee.com/search SEARCH_SERVER_API=https://lighthouse.odysee.com/search
SOCKETY_SERVER_API=wss://sockety.odysee.com/ws SOCKETY_SERVER_API=wss://sockety.odysee.com/ws
THUMBNAIL_CDN_URL=https://image-processor.vanwanet.com/optimize/ THUMBNAIL_CDN_URL=https://image-processor.vanwanet.com/optimize/
WELCOME_VERSION=1.3 WELCOME_VERSION=1.2
# STRIPE # STRIPE
# STRIPE_PUBLIC_KEY='pk_test_NoL1JWL7i1ipfhVId5KfDZgo' # STRIPE_PUBLIC_KEY='pk_test_NoL1JWL7i1ipfhVId5KfDZgo'

View file

@ -327,10 +327,9 @@ reducers[ACTIONS.DISK_SPACE] = (state, action) => {
}; };
reducers[ACTIONS.SYNC_STATE_POPULATE] = (state, action) => { reducers[ACTIONS.SYNC_STATE_POPULATE] = (state, action) => {
const { welcomeVersion, allowAnalytics } = action.data; const { allowAnalytics } = action.data;
return { return {
...state, ...state,
...(welcomeVersion !== undefined ? { welcomeVersion } : {}),
...(allowAnalytics !== undefined ? { allowAnalytics } : {}), ...(allowAnalytics !== undefined ? { allowAnalytics } : {}),
}; };
}; };

View file

@ -304,7 +304,7 @@
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
} }
margin-bottom: var(--spacing-m); padding-bottom: var(--spacing-m);
} }
.settings__row--title { .settings__row--title {