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

actions.js 853B

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