From eb61f701647f61efd730e1c609fd42836881623b Mon Sep 17 00:00:00 2001 From: Xhofe Date: Sun, 20 Feb 2022 13:06:59 +0800 Subject: [PATCH] :bug: fix show balance account --- model/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/account.go b/model/account.go index aa49dc6f..f8e18911 100644 --- a/model/account.go +++ b/model/account.go @@ -163,7 +163,7 @@ func GetAccountFiles() ([]File, error) { return nil, err } for _, v := range accounts { - if strings.HasSuffix(v.Name, balance) { + if strings.Contains(v.Name, balance) { continue } files = append(files, File{