1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-16 16:23:29 +00:00

restart app after theme change

This commit is contained in:
Kyle Spearrin
2019-05-29 23:02:30 -04:00
parent 6e91d66b2c
commit cc8b8f9ceb
6 changed files with 47 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
using System;
using Bit.App.Resources;
using System;
using Xamarin.Forms;
namespace Bit.App.Pages
@@ -15,6 +16,11 @@ namespace Bit.App.Pages
_themePicker.ItemDisplayBinding = new Binding("Value");
_uriMatchPicker.ItemDisplayBinding = new Binding("Value");
_clearClipboardPicker.ItemDisplayBinding = new Binding("Value");
if(Device.RuntimePlatform == Device.Android)
{
_themeDescriptionLabel.Text = string.Concat(_themeDescriptionLabel.Text, " ",
AppResources.RestartIsRequired);
}
}
protected async override void OnAppearing()