Add manual auto-update fallback
This commit is contained in:
15
app/src/actions/UpdateNotifier.ts
Normal file
15
app/src/actions/UpdateNotifier.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { ActionTypes, CustomAction } from '../reducers'
|
||||
|
||||
export const showUpdateNotification = (show: boolean): CustomAction => {
|
||||
return {
|
||||
type: ActionTypes.showUpdateNotification,
|
||||
showUpdateNotification: show,
|
||||
}
|
||||
}
|
||||
|
||||
export const showUpdateDetails = (show: boolean): CustomAction => {
|
||||
return {
|
||||
type: ActionTypes.showUpdateDetails,
|
||||
showUpdateDetails: show,
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
import * as settingsActions from './Settings'
|
||||
import * as treeActions from './Tree'
|
||||
import * as sidebarActions from './Sidebar'
|
||||
import * as treeActions from './Tree'
|
||||
import * as updateNotifierActions from './UpdateNotifier'
|
||||
|
||||
export { settingsActions, treeActions, sidebarActions }
|
||||
export { settingsActions, treeActions, sidebarActions, updateNotifierActions }
|
||||
|
||||
Reference in New Issue
Block a user