mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
Fix typing issue
This commit is contained in:
parent
fd6afffdcc
commit
fd43346c28
1 changed files with 2 additions and 2 deletions
|
@ -540,7 +540,7 @@ create table if not exists profiles
|
|||
self.meta["hide_top_bar"] = on
|
||||
gui_hooks.body_classes_need_update()
|
||||
|
||||
def top_bar_hide_mode(self) -> bool:
|
||||
def top_bar_hide_mode(self) -> HideMode:
|
||||
return self.meta.get("top_bar_hide_mode", HideMode.FULLSCREEN)
|
||||
|
||||
def set_top_bar_hide_mode(self, mode: HideMode) -> None:
|
||||
|
@ -553,7 +553,7 @@ create table if not exists profiles
|
|||
def set_hide_bottom_bar(self, on: bool) -> None:
|
||||
self.meta["hide_bottom_bar"] = on
|
||||
|
||||
def bottom_bar_hide_mode(self) -> bool:
|
||||
def bottom_bar_hide_mode(self) -> HideMode:
|
||||
return self.meta.get("bottom_bar_hide_mode", HideMode.FULLSCREEN)
|
||||
|
||||
def set_bottom_bar_hide_mode(self, mode: HideMode) -> None:
|
||||
|
|
Loading…
Reference in a new issue