This commit is contained in:
2026-09-04 17:23:10 +07:00
parent 1496b7afeb
commit 15c2122f38
13 changed files with 63 additions and 46 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ impl RepoStore {
self.announcement
.as_ref()
.map_or(SharedString::default(), |a| {
a.name.clone().unwrap_or(SharedString::from("Unknown"))
SharedString::from(a.name.as_deref().unwrap_or("Unknown"))
})
}