mirror of
https://github.com/tooot-app/app
synced 2025-03-02 02:27:42 +01:00
More prompt update alert
This commit is contained in:
parent
7bf428f179
commit
6651f86eaa
@ -30,7 +30,7 @@ const versionSlice = createSlice({
|
|||||||
extraReducers: builder => {
|
extraReducers: builder => {
|
||||||
builder.addCase(retriveVersionLatest.fulfilled, (state, action) => {
|
builder.addCase(retriveVersionLatest.fulfilled, (state, action) => {
|
||||||
if (action.payload && Constants.manifest?.version) {
|
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
|
state.update = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user