diff options
-rw-r--r-- | src/Lazymail/Handlers.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Lazymail/Handlers.hs b/src/Lazymail/Handlers.hs index 15dbf4c..15fd523 100644 --- a/src/Lazymail/Handlers.hs +++ b/src/Lazymail/Handlers.hs @@ -38,7 +38,7 @@ previousMode' MaildirMode = (=<<) put $ get >>= \st -> return st { exitRequested previousMode' EmailMode = do st <- get if (triggerUpdateIn . indexState $ st) - then advanceMode >> solveIndexUpdate + then advanceMode' MaildirMode >> solveIndexUpdate else put $ st { mode = IndexMode } previousMode' IndexMode = do st <- get |