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