diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-01-26 22:05:15 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-01-26 22:05:15 +0100 |
commit | d827482d9085b5e560c5fd6d4287cc3ea9b6fbb7 (patch) | |
tree | 28da0d87a202425586f19da061260bc9e3bc7a0d /src/main/java/de/pixart/messenger | |
parent | 8798f622ff6f31595d45dc64f4caa1ed479b9303 (diff) |
show timestamp in restore view
Diffstat (limited to 'src/main/java/de/pixart/messenger')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/adapter/BackupFileAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/adapter/BackupFileAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/BackupFileAdapter.java index 84ae61e11..9a7f70d12 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/BackupFileAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/BackupFileAdapter.java @@ -46,7 +46,7 @@ public class BackupFileAdapter extends RecyclerView.Adapter<BackupFileAdapter.Ba final ImportBackupService.BackupFile backupFile = files.get(position); final BackupFileHeader header = backupFile.getHeader(); backupFileViewHolder.binding.accountJid.setText(header.getJid().asBareJid().toString()); - backupFileViewHolder.binding.accountStatus.setText(String.format("%s · %s", header.getApp(), DateUtils.formatDateTime(backupFileViewHolder.binding.getRoot().getContext(), header.getTimestamp(), DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_SHOW_YEAR))); + backupFileViewHolder.binding.accountStatus.setText(String.format("%s · %s", header.getApp(), DateUtils.formatDateTime(backupFileViewHolder.binding.getRoot().getContext(), header.getTimestamp(), DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_SHOW_YEAR | DateUtils.FORMAT_SHOW_TIME))); backupFileViewHolder.binding.tglAccountStatus.setVisibility(View.GONE); backupFileViewHolder.binding.getRoot().setOnClickListener(v -> { if (listener != null) { |