Skip to content

Commit

Permalink
Add a javadoc to nested function doSync()
Browse files Browse the repository at this point in the history
  • Loading branch information
BrayanDSO committed Aug 22, 2022
1 parent 2f641ae commit 1fa2a29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AnkiDroid/src/main/java/com/ichi2/anki/DeckPicker.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1567,6 +1567,8 @@ open class DeckPicker :
showSyncErrorDialog(SyncErrorDialog.DIALOG_USER_NOT_LOGGED_IN_SYNC)
return
}
/** Nested function that makes the connection to
* the sync server and starts syncing the data */
fun doSync() {
if (!BackendFactory.defaultLegacySchema) {
handleNewSync(conflict)
Expand Down

0 comments on commit 1fa2a29

Please sign in to comment.