We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3973de commit 459b702Copy full SHA for 459b702
1 file changed
accounts1/utils.go
@@ -24,7 +24,6 @@ import (
24
polkit "github.com/linuxdeepin/go-dbus-factory/system/org.freedesktop.policykit1"
25
"github.com/linuxdeepin/go-lib/encoding/kv"
26
"github.com/linuxdeepin/go-lib/graphic"
27
- "github.com/linuxdeepin/go-lib/strv"
28
"github.com/linuxdeepin/go-lib/utils"
29
)
30
@@ -87,9 +86,7 @@ func getUserIcons() ([]string, []string) {
87
86
return err
88
}
89
90
- subPaths := []string{"dimensional", "flat", "local"}
91
-
92
- if info.IsDir() && strv.Strv(subPaths).Contains(info.Name()) {
+ if info.IsDir() && info.Name() != "icons" {
93
paths = append(paths, path)
94
95
0 commit comments