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.
This commit is contained in:
Joe 2026-03-01 16:50:09 -06:00
parent 491d433a6b
commit 059abd1245

View file

@ -544,7 +544,9 @@ end
function App:startSyncReminderPolling() function App:startSyncReminderPolling()
-- Feature disabled: polling GET /api/rojo every 30s is expensive and -- Feature disabled: polling GET /api/rojo every 30s is expensive and
-- the setting was hidden behind showNotifications anyway. -- the setting was hidden behind showNotifications anyway.
do return end do
return
end
if if
self.syncReminderPollingThread ~= nil self.syncReminderPollingThread ~= nil