Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions synodic_client/application/screen/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
QWidget,
)

from synodic_client._version import __version__
from synodic_client.application.icon import app_icon
from synodic_client.application.screen.card import CardFrame
from synodic_client.application.theme import SETTINGS_WINDOW_MIN_SIZE, UPDATE_STATUS_CHECKING_STYLE
Expand Down Expand Up @@ -92,6 +93,11 @@ def _init_ui(self) -> None:
layout.addWidget(self._build_advanced_section())
layout.addStretch()

version_label = QLabel(f'Version {__version__}')
version_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
version_label.setStyleSheet('color: rgba(255, 255, 255, 0.4); font-size: 11px;')
layout.addWidget(version_label)

scroll.setWidget(container)
self.setCentralWidget(scroll)

Expand Down
4 changes: 2 additions & 2 deletions synodic_client/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ class UpdateInfo:


# Default interval for automatic update checks (minutes)
DEFAULT_AUTO_UPDATE_INTERVAL_MINUTES = 30
DEFAULT_AUTO_UPDATE_INTERVAL_MINUTES = 5

# Default interval for tool update checks (minutes)
DEFAULT_TOOL_UPDATE_INTERVAL_MINUTES = 20
DEFAULT_TOOL_UPDATE_INTERVAL_MINUTES = 5


@dataclass
Expand Down
Loading