chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-04-28 21:41:07 +09:00
1 parent 3d33d4f1e0
commit 52d51f2bd7
14 files changed
+50 -41

No files matched your search

+1 -1
View File
@@ -117,7 +117,7 @@ class RefreshButton(IconTextButton):
self.show_time(True)
GLib.timeout_add_seconds(1, self.decrement)
def decrement(self) -> "GLib.SOURCE_REMOVE" | Literal[True]:
def decrement(self) -> type[GLib.SOURCE_REMOVE] | Literal[True]:
self.time -= 1
if self.time == 0:
self.time = 30