1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-26 12:16:07 +01:00

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 <alistair@alistair23.me>

* 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 <alistair@alistair23.me>
This commit is contained in:
Alistair Francis 2018-01-04 05:32:18 -08:00 committed by Kyle Spearrin
parent b680b190d4
commit c3570dd07a

View File

@ -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,