mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-22 20:31:16 +00:00
Show global file count and size
This commit is contained in:
parent
45fb92c248
commit
596bc1c49d
1 changed files with 2 additions and 2 deletions
|
@ -69,11 +69,11 @@ public class FoldersAdapter extends ArrayAdapter<Folder> {
|
|||
binding.state.setText(getLocalizedState(getContext(), model.state, percentage));
|
||||
binding.items.setVisibility(VISIBLE);
|
||||
binding.items.setText(getContext()
|
||||
.getString(R.string.files, model.inSyncFiles, model.localFiles));
|
||||
.getString(R.string.files, model.inSyncFiles, model.globalFiles));
|
||||
binding.size.setVisibility(VISIBLE);
|
||||
binding.size.setText(getContext().getString(R.string.folder_size_format,
|
||||
Util.readableFileSize(getContext(), model.inSyncBytes),
|
||||
Util.readableFileSize(getContext(), model.localBytes)));
|
||||
Util.readableFileSize(getContext(), model.globalBytes)));
|
||||
setTextOrHide(binding.invalid, model.invalid);
|
||||
} else {
|
||||
binding.items.setVisibility(GONE);
|
||||
|
|
Loading…
Reference in a new issue