Skip to content

Commit

Permalink
fixed not working "sound only" mode which was introduced by rewriting…
Browse files Browse the repository at this point in the history
… the popup notification part
  • Loading branch information
Stefan Ruepp committed Jun 10, 2018
1 parent 17a135f commit d78b033
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
15 changes: 9 additions & 6 deletions EveChatNotifier/Notifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,15 @@ public void Notify(string title, string message)
/// <param name="soundFile">null/empty if no sound should be played</param>
public void Notify(string title, string message, string soundFile)
{
PopupNotifier pn = CreateNotify();
pn.TitleText = title;
pn.ContentText = message;
pn.Size = Properties.Settings.Default.ToastSize;
pn.Popup();

if(Properties.Settings.Default.ShowToast)
{
PopupNotifier pn = CreateNotify();
pn.TitleText = title;
pn.ContentText = message;
pn.Size = Properties.Settings.Default.ToastSize;
pn.Popup();
}

// send audio notification
if(!string.IsNullOrWhiteSpace(soundFile))
{
Expand Down
4 changes: 2 additions & 2 deletions EveChatNotifier/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.10.0.0")]
[assembly: AssemblyFileVersion("2.10.0.0")]
[assembly: AssemblyVersion("2.10.1.0")]
[assembly: AssemblyFileVersion("2.10.1.0")]

0 comments on commit d78b033

Please sign in to comment.