Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

functions.native.ts 606B

123456789101112131415161718
  1. export * from './functions.any';
  2. /**
  3. * Used on web.
  4. *
  5. * @param {(Function|Object)} _stateful -The (whole) redux state, or redux's
  6. * {@code getState} function to be used to retrieve the state.
  7. * @param {boolean} _isDisplayedOnWelcomePage - Indicates whether the shortcuts dialog is displayed on the
  8. * welcome page or not.
  9. * @returns {Object} - The properties for the "Shortcuts" tab from settings
  10. * dialog.
  11. */
  12. export function getShortcutsTabProps(_stateful: any, _isDisplayedOnWelcomePage?: boolean) {
  13. // needed to fix lint error.
  14. return {
  15. keyboardShortcutsEnabled: false
  16. };
  17. }