refactor(modules): clean up dock update logic and fix TOTP action closure
- Refactor dock update loop to use explicit parentheses and improve readability - Fix closure capture in OTP plugin action to correctly pass current code - Remove redundant lambda wrapper in player label binding - Update logger messages with full exception context - Adjust imports and naming for consistency across modules - Minor code style updates and whitespace cleanup
This commit is contained in:
12 files changed
+48
-39
No files matched your search
@@ -539,8 +539,8 @@ class WallpaperPlugin(PluginBase):
|
||||
status_text
|
||||
}",
|
||||
icon_name="color-picker-symbolic",
|
||||
action=lambda c=hex_color, s=scheme: self._apply_hex_color_direct(
|
||||
c, s
|
||||
action=lambda c=hex_color, s=scheme: (
|
||||
self._apply_hex_color_direct(c, s)
|
||||
),
|
||||
relevance=1.0,
|
||||
plugin_name=self.display_name,
|
||||
|
||||
Reference in new issue
Block a user