Skip to content
Snippets Groups Projects
Commit a4ae7683 authored by Anon's avatar Anon
Browse files

BatchFileTransfer: Use actual queue size for progress.

parent 4b971324
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ class BatchTransferFragment : Fragment(), FileTransferListener, GattListener { ...@@ -58,7 +58,7 @@ class BatchTransferFragment : Fragment(), FileTransferListener, GattListener {
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
label_status.text = getString(R.string.batch_transfer_label_initializing) label_status.text = getString(R.string.batch_transfer_label_initializing)
progress.max = 5 progress.max = queue.size
button_cancel.setOnClickListener { button_cancel.setOnClickListener {
isCancelled = true isCancelled = true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment