您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

actions.js 873B

12345678910111213141516171819202122
  1. import { DISMISS_MOBILE_APP_PROMO } from './actionTypes';
  2. import './reducer';
  3. /**
  4. * Returns a Redux action which signals that the UnsupportedMobileBrowser which
  5. * was rendered as a promotion of the mobile app on a browser was dismissed by
  6. * the user. For example, the Web app may possibly run in Google Chrome
  7. * on Android but we choose to promote the mobile app anyway claiming the user
  8. * experience provided by the Web app is inferior to that of the mobile app.
  9. * Eventually, the user may choose to dismiss the promotion of the mobile app
  10. * and take their chances with the Web app instead. If unused, then we have
  11. * chosen to force the mobile app and not allow the Web app in mobile browsers.
  12. *
  13. * @returns {{
  14. * type: DISMISS_MOBILE_APP_PROMO
  15. * }}
  16. */
  17. export function dismissMobileAppPromo() {
  18. return {
  19. type: DISMISS_MOBILE_APP_PROMO
  20. };
  21. }