diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-01-18 19:17:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-18 19:17:25 +0100 |
commit | d799921c75e7bfb83504bb79dcc1c269c91d168c (patch) | |
tree | 8150e8c3d81038ed132127d2ea1ca2a44ff73fb1 /app/javascript/mastodon/actions | |
parent | e56404be414ff2fc7ff11171fdd2b31a0658aa11 (diff) |
Replace tutorial modal with welcome e-mail (#6273)
* Remove onboarding modal * Welcome e-mail * Send welcome e-mail after confirmation * Remove obsolete translations
Diffstat (limited to 'app/javascript/mastodon/actions')
-rw-r--r-- | app/javascript/mastodon/actions/onboarding.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/javascript/mastodon/actions/onboarding.js b/app/javascript/mastodon/actions/onboarding.js deleted file mode 100644 index a161c50ef..000000000 --- a/app/javascript/mastodon/actions/onboarding.js +++ /dev/null @@ -1,14 +0,0 @@ -import { openModal } from './modal'; -import { changeSetting, saveSettings } from './settings'; - -export function showOnboardingOnce() { - return (dispatch, getState) => { - const alreadySeen = getState().getIn(['settings', 'onboarded']); - - if (!alreadySeen) { - dispatch(openModal('ONBOARDING')); - dispatch(changeSetting(['onboarded'], true)); - dispatch(saveSettings()); - } - }; -}; |