1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00
This commit is contained in:
Zhiyuan Zheng
2021-04-16 14:58:18 +02:00
parent 58a4b9953f
commit 3e52f175b7
4 changed files with 8 additions and 7 deletions

View File

@ -40,7 +40,7 @@ const contextsSlice = createSlice({
initialState: contextsInitialState as ContextsState,
reducers: {
updateStoreReview: (state, action: PayloadAction<1>) => {
if (Updates.releaseChannel.includes('production')) {
if (Updates.releaseChannel.includes('release')) {
state.storeReview.current = state.storeReview.current + action.payload
if (state.storeReview.current === state.storeReview.context) {
StoreReview.isAvailableAsync().then(() => StoreReview.requestReview())