Fix deprecated StringView to_string warning (CI --deny-warn)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3ac96fea35
commit
bc675459d9
1 file changed
+1
-1
+1
-1
@@ -528,7 +528,7 @@ pub fn app_icon(key : String) -> String {
|
||||
pub fn resolve_icon(chain : Array[String]) -> String {
|
||||
for name in chain {
|
||||
if name.has_prefix("app:") {
|
||||
let icon = app_icon(name[4:].to_string())
|
||||
let icon = app_icon(name[4:].to_owned())
|
||||
if icon != "" {
|
||||
return icon
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user