From 059abd1245139ca292361be8680cebf72e85d2ea Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 1 Mar 2026 16:50:09 -0600 Subject: [PATCH] Refactor App:startSyncReminderPolling for clarity - Updated the `App:startSyncReminderPolling` function to improve code readability by restructuring the return statement. This change enhances the clarity of the function's flow without altering its functionality. These changes aim to maintain code quality and improve maintainability. --- plugin/src/App/init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin/src/App/init.lua b/plugin/src/App/init.lua index 232f612e..5f93f361 100644 --- a/plugin/src/App/init.lua +++ b/plugin/src/App/init.lua @@ -544,7 +544,9 @@ end function App:startSyncReminderPolling() -- Feature disabled: polling GET /api/rojo every 30s is expensive and -- the setting was hidden behind showNotifications anyway. - do return end + do + return + end if self.syncReminderPollingThread ~= nil