Skip to content

Commit

Permalink
fix(settings): bad monitor name
Browse files Browse the repository at this point in the history
  • Loading branch information
eythaann committed Jan 30, 2025
1 parent e621a06 commit 4fa48c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/modules/monitors/domain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ impl TryFrom<Monitor> for PhysicalMonitor {
let dpi = WindowsApi::get_device_pixel_ratio(m.handle())?;
Ok(Self {
id: device.id(),
name: device.name.to_string(),
name: device.description.to_string(),
width: (rect.right - rect.left) as u32,
height: (rect.bottom - rect.top) as u32,
dpi,
Expand Down

0 comments on commit 4fa48c2

Please sign in to comment.