Skip to content

Commit

Permalink
take welcomeVersion out of sync
Browse files Browse the repository at this point in the history
  • Loading branch information
jessopb committed Jun 2, 2022
1 parent a18dba5 commit fca62f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
3 changes: 1 addition & 2 deletions ui/redux/reducers/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 } : {}),
};
};
Expand Down
2 changes: 1 addition & 1 deletion ui/scss/component/section.scss
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
margin-top: 0;
margin-bottom: 0;
}
margin-bottom: var(--spacing-m);
padding-bottom: var(--spacing-m);
}

.settings__row--title {
Expand Down

0 comments on commit fca62f9

Please sign in to comment.