mirror of
https://github.com/nextcloud/android.git
synced 2025-08-20 14:34:22 +00:00
@ -26,6 +26,7 @@ import com.nextcloud.client.jobs.transfer.TransferManager
|
|||||||
import com.owncloud.android.R
|
import com.owncloud.android.R
|
||||||
import com.owncloud.android.datamodel.OCFile
|
import com.owncloud.android.datamodel.OCFile
|
||||||
import com.owncloud.android.db.OCUpload
|
import com.owncloud.android.db.OCUpload
|
||||||
|
import java.util.Locale
|
||||||
|
|
||||||
class EtmFileTransferFragment : EtmBaseFragment() {
|
class EtmFileTransferFragment : EtmBaseFragment() {
|
||||||
|
|
||||||
@ -96,7 +97,7 @@ class EtmFileTransferFragment : EtmBaseFragment() {
|
|||||||
vh.state.text = transfer.state.toString()
|
vh.state.text = transfer.state.toString()
|
||||||
if (transfer.progress >= 0) {
|
if (transfer.progress >= 0) {
|
||||||
vh.progressEnabled = true
|
vh.progressEnabled = true
|
||||||
vh.progress.text = transfer.progress.toString()
|
vh.progress.text = String.format(Locale.getDefault(), "%d", transfer.progress)
|
||||||
} else {
|
} else {
|
||||||
vh.progressEnabled = false
|
vh.progressEnabled = false
|
||||||
}
|
}
|
||||||
|
@ -109,8 +109,6 @@ public class UploadFilesActivity extends DrawerActivity implements LocalFileList
|
|||||||
private UploadFilesLayoutBinding binding;
|
private UploadFilesLayoutBinding binding;
|
||||||
private boolean isWithinEncryptedFolder = false;
|
private boolean isWithinEncryptedFolder = false;
|
||||||
|
|
||||||
|
|
||||||
@VisibleForTesting
|
|
||||||
public LocalFileListFragment getFileListFragment() {
|
public LocalFileListFragment getFileListFragment() {
|
||||||
return mFileListFragment;
|
return mFileListFragment;
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
DO NOT TOUCH; GENERATED BY DRONE
|
DO NOT TOUCH; GENERATED BY DRONE
|
||||||
<span class="mdl-layout-title">Lint Report: 3 errors and 60 warnings</span>
|
<span class="mdl-layout-title">Lint Report: 3 errors and 59 warnings</span>
|
||||||
|
Reference in New Issue
Block a user