mirror of
https://github.com/nextcloud/android.git
synced 2025-08-16 16:44:39 +00:00
@ -26,6 +26,7 @@ import com.nextcloud.client.jobs.transfer.TransferManager
|
||||
import com.owncloud.android.R
|
||||
import com.owncloud.android.datamodel.OCFile
|
||||
import com.owncloud.android.db.OCUpload
|
||||
import java.util.Locale
|
||||
|
||||
class EtmFileTransferFragment : EtmBaseFragment() {
|
||||
|
||||
@ -96,7 +97,7 @@ class EtmFileTransferFragment : EtmBaseFragment() {
|
||||
vh.state.text = transfer.state.toString()
|
||||
if (transfer.progress >= 0) {
|
||||
vh.progressEnabled = true
|
||||
vh.progress.text = transfer.progress.toString()
|
||||
vh.progress.text = String.format(Locale.getDefault(), "%d", transfer.progress)
|
||||
} else {
|
||||
vh.progressEnabled = false
|
||||
}
|
||||
|
@ -109,8 +109,6 @@ public class UploadFilesActivity extends DrawerActivity implements LocalFileList
|
||||
private UploadFilesLayoutBinding binding;
|
||||
private boolean isWithinEncryptedFolder = false;
|
||||
|
||||
|
||||
@VisibleForTesting
|
||||
public LocalFileListFragment getFileListFragment() {
|
||||
return mFileListFragment;
|
||||
}
|
||||
|
@ -1,2 +1,2 @@
|
||||
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