Skip to content

Commit

Permalink
Fixed maximum length for custom object name
Browse files Browse the repository at this point in the history
  • Loading branch information
TTLC198 committed Sep 9, 2023
1 parent b871ba9 commit 8550a94
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,9 @@ public bool IsAutoDetectHardwareEnabled
}
}

public int CustomNameMaxLength =>
SettingsService.Settings.IsDeviceBackwardCompatibilityEnabled
public int CustomNameMaxLength => SettingsService.Settings.IsDeviceBackwardCompatibilityEnabled
? 23
: 50;
: 30;

public AppearanceSettingsTabViewModel(SettingsService settingsService, HardwareMonitorService hardwareMonitorService)
: base(settingsService, 2, "Appearance")
Expand Down

0 comments on commit 8550a94

Please sign in to comment.