Commit a4ae7683 authored by Anon's avatar Anon
Browse files

BatchFileTransfer: Use actual queue size for progress.

parent 4b971324
...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment