navigation and archive behavior fixed
This commit is contained in:
@@ -28,8 +28,8 @@ async def archive_current(app) -> None:
|
||||
logging.info(stdout.decode())
|
||||
if process.returncode == 0:
|
||||
await app.query_one(ListView).pop(index)
|
||||
app.query_one(ListView).index = index + 1
|
||||
app.action_next() # Automatically show the next message
|
||||
app.query_one(ListView).index = index
|
||||
# app.action_next() # Automatically show the next message
|
||||
else:
|
||||
app.show_status(f"Error archiving message: {stderr.decode()}", "error")
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user