Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonzorn committed Mar 29, 2024
1 parent c6438ac commit cdde762
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def __init__(self):
self.setWindowIcon(QIcon(Icons.App))
self._theme_updater = Thread(target=self.theme_listener, callback=self.update_style)
self._theme_updater.start()
self.show()

@staticmethod
def theme_listener():
Expand Down Expand Up @@ -75,4 +74,5 @@ def closeEvent(self, event):
app = App(sys.argv)
Path(f"{platformdirs.user_data_dir()}/{APP_NAME}").mkdir(parents=True, exist_ok=True)
window = MainWindow()
window.show()
sys.exit(app.exec())
12 changes: 9 additions & 3 deletions nlightreader/windows/Parent.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,18 @@ def __init__(self):
self.init_navigation()

def init_navigation(self):
self.addSubInterface(self.library_interface, FluentIcon.LIBRARY, translate("MainWindow", "Library"))
self.addSubInterface(self.facial_interface, FluentIcon.HOME, translate("MainWindow", "Main"))
self.addSubInterface(
self.library_interface, FluentIcon.LIBRARY, translate("MainWindow", "Library"),
)
self.addSubInterface(
self.facial_interface, FluentIcon.HOME, translate("MainWindow", "Main"),
)
self.addSubInterface(
self.shikimori_interface, NlFluentIcons.SHIKIMORI, translate("MainWindow", "Shikimori"),
)
self.addSubInterface(self.history_interface, FluentIcon.HISTORY, translate("MainWindow", "History"))
self.addSubInterface(
self.history_interface, FluentIcon.HISTORY, translate("MainWindow", "History"),
)

@Slot()
def on_widget_change(self):
Expand Down

0 comments on commit cdde762

Please sign in to comment.