fix(interface): 修复按钮标识和一个哈希问题

This commit is contained in:
2026-01-15 12:49:57 +08:00
parent 473a3bba8f
commit 69b7edeed0
10 changed files with 12 additions and 259 deletions

View File

@@ -70,6 +70,7 @@ class MemScreen(Screen):
"""更新状态机"""
self.procession: Procession = self.phaser.current_procession() # type: ignore
self.atom: pt.Atom = self.procession.current_atom # type: ignore
def on_mount(self):
self.fission = self.procession.get_fission()
@@ -176,6 +177,7 @@ class MemScreen(Screen):
self.forward(new_rating)
self.rating = -1
def forward(self, rating):
self.update_state()
allow_forward = 1 if rating >= 4 else 0

View File

@@ -29,6 +29,7 @@ class NavigatorScreen(ModalScreen):
# ("创建仓库", "repo_creator"),
("缓存管理器", "precache_all"),
("收藏夹管理器", FavoriteManagerScreen),
("配置设置", "config"),
("关于此软件", "about"),
("调试日志", "logviewer"),
# ("同步工具", "synctool"),