From c3570dd07a848f9f7ca72acc7de57516b5fa9b9e Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Thu, 4 Jan 2018 05:32:18 -0800 Subject: [PATCH] Improve the UWP toast notification colours (#239) * UWP: Services: Improve the toast notifcation colours This commit improves the toast notification colours and makes the notification slightly transparent. Signed-off-by: Alistair Francis * UWP: Services: Remove the unused Alignment options These Alignment options don't have an effect on UWP, so just remove them. Signed-off-by: Alistair Francis --- src/UWP/Services/DeviceActionService.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/UWP/Services/DeviceActionService.cs b/src/UWP/Services/DeviceActionService.cs index 3ce971716..1f8712261 100644 --- a/src/UWP/Services/DeviceActionService.cs +++ b/src/UWP/Services/DeviceActionService.cs @@ -140,11 +140,9 @@ namespace Bit.UWP.Services Message = text, TextWrapping = TextWrapping.Wrap, MillisecondsUntilHidden = Convert.ToInt32(longDuration ? 5 : 2) * 1000, - Background = new SolidColorBrush(Color.FromArgb(255, 73, 73, 73)), - Foreground = new SolidColorBrush(Colors.White), + Background = new SolidColorBrush(Color.FromArgb(240, 210, 214, 222)), + Foreground = new SolidColorBrush(Color.FromArgb(240, 60, 141, 188)), Margin = new Thickness(0, 0, 0, 100), - HorizontalAlignment = HorizontalAlignment.Center, - VerticalAlignment = VerticalAlignment.Bottom, HorizontalContentAlignment = HorizontalAlignment.Center, VerticalContentAlignment = VerticalAlignment.Center, Stretch = Stretch.Uniform,