From b0208136e0dab098d8270b56b65521e13ff3d732 Mon Sep 17 00:00:00 2001 From: Keuin Date: Fri, 29 Jan 2021 18:47:13 +0800 Subject: BugFix: `/kb restore` and `/kb delete` cannot select primitive backups by index number --- src/main/java/com/keuin/kbackupfabric/ui/PrimitiveBackupInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/keuin/kbackupfabric') diff --git a/src/main/java/com/keuin/kbackupfabric/ui/PrimitiveBackupInfo.java b/src/main/java/com/keuin/kbackupfabric/ui/PrimitiveBackupInfo.java index 8cca8d2..1895647 100644 --- a/src/main/java/com/keuin/kbackupfabric/ui/PrimitiveBackupInfo.java +++ b/src/main/java/com/keuin/kbackupfabric/ui/PrimitiveBackupInfo.java @@ -73,6 +73,6 @@ public class PrimitiveBackupInfo implements BackupInfo { @Override public String getBackupFileName() { - return null; + return fileName; } } -- cgit v1.2.3