Reorder home screen views

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2023-07-11 21:46:18 +03:00
parent 1c78a7e4ce
commit 3da76e24df

View File

@@ -34,14 +34,14 @@ const homeSlice = createSlice({
cycleView: state => {
switch (state.view) {
case VIEW.MASONRY: {
state.view = VIEW.LIST;
break;
}
case VIEW.LIST: {
state.view = VIEW.GRID;
break;
}
case VIEW.GRID: {
state.view = VIEW.LIST;
break;
}
case VIEW.LIST: {
state.view = VIEW.MASONRY;
break;
}