improve is theme selected

gave all builtin themes uuids
This commit is contained in:
neon443 committed 2025-06-29 10:49:52 +01:00
1 parent a4d245caec
commit 331b21b23f
14 files changed
+14 -17

No files matched your search

+1 -4
View File
@@ -57,10 +57,7 @@ class HostsManager: ObservableObject, @unchecked Sendable {
}
func isThemeSelected(_ themeInQuestion: Theme) -> Bool {
var themeInQWithSameID = themeInQuestion
themeInQWithSameID.id = selectedTheme.id
return themeInQWithSameID == self.selectedTheme
return themeInQuestion == self.selectedTheme
}
func renameTheme(_ theme: Theme?, to newName: String) {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.