From a6f6ffdbfcf82ed279f5f59291994e81756a5018 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 19 Sep 2023 15:39:01 +0200 Subject: [PATCH] Remove blob icon type --- profile/icon.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/profile/icon.go b/profile/icon.go index 0d002825..0f084be5 100644 --- a/profile/icon.go +++ b/profile/icon.go @@ -19,17 +19,14 @@ type IconType string const ( IconTypeFile IconType = "path" IconTypeDatabase IconType = "database" - IconTypeBlob IconType = "blob" ) func (t IconType) sortOrder() int { switch t { - case IconTypeFile: - return 1 case IconTypeDatabase: + return 1 + case IconTypeFile: return 2 - case IconTypeBlob: - return 3 default: return 100 }