set update interval smaller

This commit is contained in:
Jeff Epler 2023-12-04 21:23:14 -06:00
parent 938c652053
commit e046b62a93
No known key found for this signature in database
GPG key ID: D5BF15AB975AB4DE

View file

@ -249,7 +249,7 @@ class TTOTP(App[None]):
def on_mount(self) -> None:
self.timer_func()
self.timer = self.set_interval(0.1, self.timer_func)
self.timer = self.set_interval(1, self.timer_func)
self.clear_clipboard_timer = self.set_timer(
30, self.clear_clipboard_func, pause=True
)