mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
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:
parent
491d433a6b
commit
059abd1245
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue