Skip to content

Commit d90d58c

Browse files
committed
util.SliceContains -> util.SliceContainsString
1 parent 820ff43 commit d90d58c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/user/user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1310,5 +1310,5 @@ func contain(s []string, e string) bool {
13101310
func (u *User) ThemeContainsPark() bool {
13111311
ars := []string{"plex", "aquamarine", "dark", "dracula", "hotline", "organizr", "space-gray", "hotpink", "onedark", "overseerr", "nord"}
13121312
//return contain(ars, u.Theme)
1313-
return util.SliceContains(ars, u.Theme)
1313+
return util.SliceContainsString(ars, u.Theme)
13141314
}

0 commit comments

Comments
 (0)