[Sync] Add syncing all to manual sync dialog.

This commit is contained in:
Kacper Ziubryniewicz 2019-11-24 16:47:10 +01:00
parent 1b1fb09211
commit 0759468fa7

View File

@ -102,6 +102,12 @@ class SyncViewListDialog(
).enqueue(activity)
}
}
.setNeutralButton(R.string.sync_feature_all) { _, _ ->
dialog.dismiss()
activity.swipeRefreshLayout.isRefreshing = true
EdziennikTask.syncProfile(App.profileId).enqueue(activity)
}
.setNegativeButton(R.string.cancel) { _, _ ->
dialog.dismiss()
}