mirror of https://github.com/tooot-app/app
More prompt update alert
This commit is contained in:
parent
7bf428f179
commit
6651f86eaa
|
@ -30,7 +30,7 @@ const versionSlice = createSlice({
|
|||
extraReducers: builder => {
|
||||
builder.addCase(retriveVersionLatest.fulfilled, (state, action) => {
|
||||
if (action.payload && Constants.manifest?.version) {
|
||||
if (parseInt(action.payload) > parseInt(Constants.manifest.version)) {
|
||||
if (parseFloat(action.payload) > parseFloat(Constants.manifest.version)) {
|
||||
state.update = true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue