mirror of https://github.com/kern/filepizza
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
366 B
JavaScript
21 lines
366 B
JavaScript
import SupportActions from '../actions/SupportActions'
|
|
import alt from '../alt'
|
|
|
|
export default alt.createStore(class SupportStore {
|
|
|
|
constructor() {
|
|
this.bindActions(SupportActions)
|
|
this.isSupported = true
|
|
this.isChrome = false
|
|
}
|
|
|
|
onNoSupport() {
|
|
this.isSupported = false
|
|
}
|
|
|
|
onIsChrome() {
|
|
this.isChrome = true
|
|
}
|
|
|
|
}, 'SupportStore')
|