2024-06-20 19:19:01 +03:00
|
|
|
/** @file Actions for the "settings" page. */
|
|
|
|
import * as goToPageActions from './goToPageActions'
|
2024-06-24 19:02:22 +03:00
|
|
|
import PageActions from './PageActions'
|
2024-06-20 19:19:01 +03:00
|
|
|
|
|
|
|
// ===========================
|
|
|
|
// === SettingsPageActions ===
|
|
|
|
// ===========================
|
|
|
|
|
|
|
|
// TODO: split settings page actions into different classes for each settings tab.
|
|
|
|
/** Actions for the "settings" page. */
|
2024-06-24 19:02:22 +03:00
|
|
|
export default class SettingsPageActions extends PageActions {
|
2024-06-20 19:19:01 +03:00
|
|
|
/** Actions for navigating to another page. */
|
2024-06-24 19:02:22 +03:00
|
|
|
get goToPage(): Omit<goToPageActions.GoToPageActions, 'drive'> {
|
2024-06-20 19:19:01 +03:00
|
|
|
return goToPageActions.goToPageActions(this.step.bind(this))
|
|
|
|
}
|
|
|
|
}
|