Update order of imports and improve error handling in various modules

This commit is contained in:
2025-09-20 12:53:04 -05:00
parent d56a6934f9
commit 34f47dc678
7 changed files with 18 additions and 17 deletions

View File

@@ -1,7 +1,10 @@
import flet as ft
import pathlib
import flet as ft
from ren_browser.logs import ERROR_LOGS, RET_LOGS
def open_settings_tab(page: ft.Page, tab_manager):
config_path = pathlib.Path(__file__).resolve().parents[2] / "config" / "config"
try:

View File

@@ -10,7 +10,6 @@ from ren_browser.tabs.tabs import TabsManager
def build_ui(page: Page):
import ren_browser.app as app_module
page.theme_mode = ft.ThemeMode.DARK
page.appbar = ft.AppBar()
page.window.maximized = True