mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 00:12:25 -04:00
Cleanup
This commit is contained in:
parent
cd9325f2d2
commit
7faad8764c
1 changed files with 2 additions and 2 deletions
|
@ -527,10 +527,10 @@ create table if not exists profiles
|
||||||
gui_hooks.body_classes_need_update()
|
gui_hooks.body_classes_need_update()
|
||||||
|
|
||||||
def minimalist_mode(self) -> bool:
|
def minimalist_mode(self) -> bool:
|
||||||
return self.meta.get("tatsumoto_mode", False)
|
return self.meta.get("minimalist_mode", False)
|
||||||
|
|
||||||
def set_minimalist_mode(self, on: bool) -> None:
|
def set_minimalist_mode(self, on: bool) -> None:
|
||||||
self.meta["tatsumoto_mode"] = on
|
self.meta["minimalist_mode"] = on
|
||||||
gui_hooks.body_classes_need_update()
|
gui_hooks.body_classes_need_update()
|
||||||
|
|
||||||
def hide_top_bar(self) -> bool:
|
def hide_top_bar(self) -> bool:
|
||||||
|
|
Loading…
Reference in a new issue