mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03: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:
parent
b680b190d4
commit
c3570dd07a
1 changed files with 2 additions and 4 deletions
|
@ -140,11 +140,9 @@ namespace Bit.UWP.Services
|
||||||
Message = text,
|
Message = text,
|
||||||
TextWrapping = TextWrapping.Wrap,
|
TextWrapping = TextWrapping.Wrap,
|
||||||
MillisecondsUntilHidden = Convert.ToInt32(longDuration ? 5 : 2) * 1000,
|
MillisecondsUntilHidden = Convert.ToInt32(longDuration ? 5 : 2) * 1000,
|
||||||
Background = new SolidColorBrush(Color.FromArgb(255, 73, 73, 73)),
|
Background = new SolidColorBrush(Color.FromArgb(240, 210, 214, 222)),
|
||||||
Foreground = new SolidColorBrush(Colors.White),
|
Foreground = new SolidColorBrush(Color.FromArgb(240, 60, 141, 188)),
|
||||||
Margin = new Thickness(0, 0, 0, 100),
|
Margin = new Thickness(0, 0, 0, 100),
|
||||||
HorizontalAlignment = HorizontalAlignment.Center,
|
|
||||||
VerticalAlignment = VerticalAlignment.Bottom,
|
|
||||||
HorizontalContentAlignment = HorizontalAlignment.Center,
|
HorizontalContentAlignment = HorizontalAlignment.Center,
|
||||||
VerticalContentAlignment = VerticalAlignment.Center,
|
VerticalContentAlignment = VerticalAlignment.Center,
|
||||||
Stretch = Stretch.Uniform,
|
Stretch = Stretch.Uniform,
|
||||||
|
|
Loading…
Reference in a new issue