mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 11:47:27 -03:00
Update __init__.py
This commit is contained in:
parent
610b37413e
commit
aef4ba9bed
1 changed files with 2 additions and 4 deletions
|
@ -98,14 +98,12 @@ class Application(QtWidgets.QApplication):
|
|||
curr_settings.load()
|
||||
current_theme = curr_settings.get("theme")
|
||||
|
||||
if current_theme == 0:
|
||||
return "dark" if self.is_dark_mode() else "light"
|
||||
elif current_theme == 1:
|
||||
if current_theme == 1:
|
||||
return "light"
|
||||
elif current_theme == 2:
|
||||
return "dark"
|
||||
else:
|
||||
return "light"
|
||||
return "dark" if self.is_dark_mode() else "light"
|
||||
|
||||
def main():
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue