Skip to content

Commit

Permalink
NF: Add a javadoc to nested function doSync()
Browse files Browse the repository at this point in the history
  • Loading branch information
BrayanDSO committed Aug 24, 2022
1 parent 2604ee7 commit 96dd7f2
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 @@ -1572,6 +1572,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() {
val shouldFetchMedia = preferences.getBoolean("syncFetchesMedia", true)
if (!BackendFactory.defaultLegacySchema) {
Expand Down

0 comments on commit 96dd7f2

Please sign in to comment.