Skip to content

Commit

Permalink
fix(Tooltip::Volume): Fix how to show the volume in the tooltip. Star…
Browse files Browse the repository at this point in the history
…t with the volume then name of device.

To avoid the overflow of the text in the notification

Fixes #1096
  • Loading branch information
Belphemur committed Jan 22, 2023
1 parent 8fc9cc4 commit 9b21dc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public string TextToDisplay()
{
return _defaultDevice == null
? null
: string.Format(SettingsStrings.activePlayback + " - {1}%", _defaultDevice.NameClean, _defaultDevice.Volume);
: string.Format("[{1}%] " + SettingsStrings.activePlayback, _defaultDevice.NameClean, _defaultDevice.Volume);
}

public override string ToString()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public string TextToDisplay()
{
return _defaultDevice == null
? null
: string.Format(SettingsStrings.activeRecording + " - {1}%", _defaultDevice.NameClean, _defaultDevice.Volume);
: string.Format("[{1}%] " + SettingsStrings.activeRecording, _defaultDevice.NameClean, _defaultDevice.Volume);
}

public override string ToString()
Expand Down

0 comments on commit 9b21dc8

Please sign in to comment.