chore: Clippy fixes

This commit is contained in:
Ginger committed 2026-06-16 12:50:43 -04:00
1 parent e143da969a
commit b5956368bc
10 files changed
+21 -26

No files matched your search

+5 -3
View File
@@ -116,9 +116,11 @@ impl DeviceCard {
let display_name = oauth_metadata
.as_ref()
.and_then(|metadata| metadata.client_name.clone())
.or(device
.as_ref()
.and_then(|device| device.display_name.clone()));
.or_else(|| {
device
.as_ref()
.and_then(|device| device.display_name.clone())
});
let avatar_src = oauth_metadata
.as_ref()