mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Fixes
This commit is contained in:
@ -43,7 +43,7 @@ const SettingsTooot: React.FC = () => {
|
||||
}}
|
||||
/>
|
||||
{__DEV__ ||
|
||||
['production', 'development'].some(channel =>
|
||||
['release', 'development'].some(channel =>
|
||||
Updates.releaseChannel?.includes(channel)
|
||||
) ? (
|
||||
<MenuRow
|
||||
|
@ -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())
|
||||
|
Reference in New Issue
Block a user