mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
white logo and popupTheme
This commit is contained in:
parent
886f356525
commit
6e91d66b2c
3 changed files with 7 additions and 2 deletions
|
@ -40,6 +40,7 @@
|
|||
<item name="android:datePickerDialogTheme">@style/AppCompatDialogStyle</item>
|
||||
<item name="android:colorActivatedHighlight">@android:color/transparent</item>
|
||||
<item name="android:textCursorDrawable">@null</item>
|
||||
<item name="popupTheme">@style/ThemeOverlay.AppCompat</item>
|
||||
</style>
|
||||
|
||||
<style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog">
|
||||
|
|
|
@ -18,7 +18,9 @@
|
|||
HorizontalOptions="Start"
|
||||
Clicked="Settings_Clicked" />
|
||||
<StackLayout VerticalOptions="CenterAndExpand" Spacing="20">
|
||||
<Image Source="logo.png"
|
||||
<Image
|
||||
x:Name="_logo"
|
||||
Source="logo.png"
|
||||
VerticalOptions="Center" />
|
||||
<Label Text="{u:I18n LoginOrCreateNewAccount}"
|
||||
StyleClass="text-lg"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using Bit.App.Utilities;
|
||||
using System;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace Bit.App.Pages
|
||||
|
@ -8,6 +9,7 @@ namespace Bit.App.Pages
|
|||
public HomePage()
|
||||
{
|
||||
InitializeComponent();
|
||||
_logo.Source = ThemeManager.GetTheme() == "dark" ? "logo_white.png" : "logo.png";
|
||||
}
|
||||
|
||||
private void LogIn_Clicked(object sender, EventArgs e)
|
||||
|
|
Loading…
Reference in a new issue