Skip to content

Commit

Permalink
Removes Toast Notifications
Browse files Browse the repository at this point in the history
Fixes #321
  • Loading branch information
Antoine Aflalo committed Feb 26, 2019
1 parent 36cbba9 commit 64bcb57
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 86 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ public void Migrate()
SelectedRecordingDeviceListId.Select((s => new DeviceInfo("", s, DataFlow.Capture))));
SelectedRecordingDeviceListId.Clear();
}

if (NotificationSettings == NotificationTypeEnum.ToastNotification)
{
NotificationSettings = NotificationTypeEnum.BannerNotification;
}
}

public void Save()
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public class NotificationFactory : AbstractFactory<NotificationTypeEnum, INotifi
new NotificationWindows(),
new NotificationSound(),
new NotificationCustom(),
new NotificationToast(),
new NotificationBanner(),
new NotificationNone()
};
Expand Down
8 changes: 3 additions & 5 deletions SoundSwitch/SoundSwitch.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
<HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL">
<HintPath>..\packages\Serilog.2.7.1\lib\net46\Serilog.dll</HintPath>
<HintPath>..\packages\Serilog.2.8.0\lib\net46\Serilog.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Serilog.Enrichers.Environment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL">
Expand All @@ -234,9 +234,8 @@
<HintPath>..\packages\Serilog.Enrichers.Thread.3.0.0\lib\net45\Serilog.Enrichers.Thread.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Serilog.Exceptions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=fc5550082a9c642c, processorArchitecture=MSIL">
<HintPath>..\packages\Serilog.Exceptions.4.1.0\lib\net45\Serilog.Exceptions.dll</HintPath>
<Private>True</Private>
<Reference Include="Serilog.Exceptions, Version=5.0.0.0, Culture=neutral, PublicKeyToken=fc5550082a9c642c, processorArchitecture=MSIL">
<HintPath>..\packages\Serilog.Exceptions.5.0.0\lib\net46\Serilog.Exceptions.dll</HintPath>
</Reference>
<Reference Include="Serilog.Formatting.Compact, Version=1.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL">
<HintPath>..\packages\Serilog.Formatting.Compact.1.0.0\lib\net45\Serilog.Formatting.Compact.dll</HintPath>
Expand Down Expand Up @@ -304,7 +303,6 @@
<Compile Include="Framework\NotificationManager\Notification\NotificationCustom.cs" />
<Compile Include="Framework\NotificationManager\Notification\NotificationSound.cs" />
<Compile Include="Framework\NotificationManager\Notification\NotificationBanner.cs" />
<Compile Include="Framework\NotificationManager\Notification\NotificationToast.cs" />
<Compile Include="Framework\NotificationManager\Notification\NotificationWindows.cs" />
<Compile Include="Framework\NotificationManager\Notification\NotificationNone.cs" />
<Compile Include="Framework\NotificationManager\NotificationTypeEnum.cs" />
Expand Down
5 changes: 2 additions & 3 deletions SoundSwitch/packages.config
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Toolkit.Uwp.Notifications" version="5.0.0" targetFramework="net46" />
<package id="Microsoft-WindowsAPICodePack-Core" version="1.1.3.3" targetFramework="net47" />
<package id="NAudio" version="1.8.5" targetFramework="net47" />
<package id="Newtonsoft.Json" version="12.0.1" targetFramework="net47" />
<package id="Serilog" version="2.7.1" targetFramework="net47" />
<package id="Serilog" version="2.8.0" targetFramework="net47" />
<package id="Serilog.Enrichers.Environment" version="2.1.2" targetFramework="net47" />
<package id="Serilog.Enrichers.Thread" version="3.0.0" targetFramework="net47" />
<package id="Serilog.Exceptions" version="4.1.0" targetFramework="net47" />
<package id="Serilog.Exceptions" version="5.0.0" targetFramework="net47" />
<package id="Serilog.Formatting.Compact" version="1.0.0" targetFramework="net47" />
<package id="Serilog.Sinks.File" version="4.0.0" targetFramework="net47" />
</packages>

0 comments on commit 64bcb57

Please sign in to comment.