Skip to content

Commit

Permalink
Removed all sv_ttk references
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePromidius committed Feb 27, 2024
1 parent 59b8ce1 commit 94c6786
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
from src.Settings.SettingControlType import SettingControlType
from src.Settings.SettingSection import SettingSection
from src.Settings.Settings import Settings
import sv_ttk
logger = logging.getLogger("SettingsWidgetManager")


Expand Down Expand Up @@ -198,10 +197,6 @@ def save_settings(self):
provider.save_settings()

Settings().save()
if Settings().get(SettingHeading.Main, 'darkmode_enabled'):
sv_ttk.use_dark_theme()
else:
sv_ttk.use_light_theme()
self.settings_window.destroy()

@staticmethod
Expand Down
5 changes: 0 additions & 5 deletions MangaManager/src/MetadataManager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from src.MetadataManager.GUI.OneTimeMessageBox import OneTimeMessageBox
from src.MetadataManager.GUI.widgets.MessageBoxWidget import MessageBoxButton
from src.Settings import Settings, SettingHeading
import sv_ttk
logger = logging.getLogger()

icon_path = ResourceLoader.get('icon.ico')
Expand All @@ -24,10 +23,6 @@ def execute_gui():
Settings().set_default(SettingHeading.ExternalSources, 'default_cover_source', "MangaDex")
load_extensions()
app = MainWindow()
if Settings().get(SettingHeading.Main, 'darkmode_enabled'):
sv_ttk.use_dark_theme()
else:
sv_ttk.use_light_theme()
try:
app.iconbitmap(icon_path)
except:
Expand Down

0 comments on commit 94c6786

Please sign in to comment.