back to old search icon

This commit is contained in:
Kyle Spearrin 2017-11-27 22:44:51 -05:00
parent b35e3454f0
commit 155b8b472f
5 changed files with 3 additions and 3 deletions

View file

@ -274,7 +274,7 @@ namespace Bit.App.Pages
if(string.IsNullOrWhiteSpace(_uri) && !_folder && string.IsNullOrWhiteSpace(_folderId) && if(string.IsNullOrWhiteSpace(_uri) && !_folder && string.IsNullOrWhiteSpace(_folderId) &&
string.IsNullOrWhiteSpace(_collectionId) && !_favorites) string.IsNullOrWhiteSpace(_collectionId) && !_favorites)
{ {
Search.FocusWithDelay(); Search.FocusWithDelay(forceDelay: true);
} }
} }

View file

@ -37,9 +37,9 @@ namespace Bit.App
return !page.IsPortrait(); return !page.IsPortrait();
} }
public static void FocusWithDelay(this View view, int delay = 1000) public static void FocusWithDelay(this View view, int delay = 1000, bool forceDelay = false)
{ {
if(Device.RuntimePlatform == Device.Android) if(Device.RuntimePlatform == Device.Android || forceDelay)
{ {
Task.Run(async () => Task.Run(async () =>
{ {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 477 B

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 894 B

After

Width:  |  Height:  |  Size: 693 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 957 B