From 3da76e24df2f3f9266b4ae58c2de028ab23983a5 Mon Sep 17 00:00:00 2001 From: Nikolaos Karaolidis Date: Tue, 11 Jul 2023 21:46:18 +0300 Subject: [PATCH] Reorder home screen views Signed-off-by: Nikolaos Karaolidis --- src/state/home.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/state/home.ts b/src/state/home.ts index e77cfc2..f274174 100644 --- a/src/state/home.ts +++ b/src/state/home.ts @@ -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; }