update imports after refactor

This commit is contained in:
Flowseal
2026-04-09 19:55:12 +03:00
parent 535d4126ed
commit 3af0cd75a2
5 changed files with 22 additions and 23 deletions

View File

@@ -30,7 +30,7 @@ try:
except ImportError:
Image = None
import proxy.tg_ws_proxy as tg_ws_proxy
from proxy import get_link_host
from utils.win32_theme import (
is_windows_dark_theme,
@@ -301,7 +301,7 @@ def _build_menu():
return None
host = _config.get("host", DEFAULT_CONFIG["host"])
port = _config.get("port", DEFAULT_CONFIG["port"])
link_host = tg_ws_proxy.get_link_host(host)
link_host = get_link_host(host)
return pystray.Menu(
pystray.MenuItem(f"Открыть в Telegram ({link_host}:{port})", _on_open_in_telegram, default=True),
pystray.MenuItem("Скопировать ссылку", _on_copy_link),