Skip to content

Commit

Permalink
prep for new version
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzhohmann committed Jan 23, 2023
1 parent cc23fa2 commit de30344
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ui/settings_interval_handler.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import threading
import time
from services.thundersynchandler import ThunderSyncHandler
from services.permanent_sync_handler import PermanentSyncHandler


class SettingsIntervalHandler:
Expand All @@ -22,7 +23,7 @@ def start(self):
status = "offline"
if ThunderSyncHandler.STATUS == 1:
status = "waiting for changes..."
if ThunderSyncHandler.STATUS == 2:
if ThunderSyncHandler.STATUS == 2 or PermanentSyncHandler.STATUS == 2:
status = "syncing..."

self.statusBadge.setText("Status: " + status)
Expand Down
4 changes: 2 additions & 2 deletions ui/settingsui.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def createAboutArea(self):

aboutLine1 = QtWidgets.QLabel("Thunderklaud Desktop-Client")
self.aboutBoxLayout.addWidget(aboutLine1)
aboutLine2 = QtWidgets.QLabel("Version 1.1.5")
aboutLine2 = QtWidgets.QLabel("Version 1.2.0")
self.aboutBoxLayout.addWidget(aboutLine2)

aboutLine3 = QtWidgets.QLabel(
Expand Down Expand Up @@ -186,7 +186,7 @@ def createChangeMode(self):
rowLayout.addWidget(syncMode)
rowLayout.addWidget(self.comboBox)
self.settingsBoxLayout.addLayout(rowLayout)

def getSyncMode(self):
return self.comboBox.currentText()

Expand Down

0 comments on commit de30344

Please sign in to comment.