(
public configSync: ConfigSyncService,
app: AppService,
hotkeys: HotkeysService,
)
| 67 | }) |
| 68 | export default class SettingsModule { |
| 69 | constructor ( |
| 70 | public configSync: ConfigSyncService, |
| 71 | app: AppService, |
| 72 | hotkeys: HotkeysService, |
| 73 | ) { |
| 74 | hotkeys.hotkey$.subscribe(async hotkey => { |
| 75 | if (hotkey.startsWith('settings-tab.')) { |
| 76 | const id = hotkey.substring(hotkey.indexOf('.') + 1) |
| 77 | app.openNewTabRaw({ |
| 78 | type: SettingsTabComponent, |
| 79 | inputs: { activeTab: id }, |
| 80 | }) |
| 81 | } |
| 82 | }) |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | export * from './api' |
nothing calls this directly
no test coverage detected