♻️ refactor(ui): improve panel and launcher functionality and appearance

This commit is contained in:
sankalp committed 2025-07-30 14:54:53 +05:45
1 parent 0f07104205
commit 6a4d87a7f7
14 files changed
+164 -607

No files matched your search

+3 -2
View File
@@ -82,10 +82,11 @@ class OTPPlugin(PluginBase):
"""Start background thread for auto-refreshing tokens."""
def refresh_loop():
while not self.stop_refresh.wait(1):
while not self.stop_refresh.wait(5):
current_time = time.time()
if current_time - self.last_update >= 1:
if current_time - self.last_update >= 5:
self.last_update = current_time
# Only refresh if we have secrets and launcher is likely active
if self.secrets:
try:
self._selective_force_refresh()