mirror of
https://github.com/bitwarden/mobile.git
synced 2025-01-13 19:41:31 +01:00
back to old search icon
This commit is contained in:
parent
b35e3454f0
commit
155b8b472f
@ -274,7 +274,7 @@ namespace Bit.App.Pages
|
||||
if(string.IsNullOrWhiteSpace(_uri) && !_folder && string.IsNullOrWhiteSpace(_folderId) &&
|
||||
string.IsNullOrWhiteSpace(_collectionId) && !_favorites)
|
||||
{
|
||||
Search.FocusWithDelay();
|
||||
Search.FocusWithDelay(forceDelay: true);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -37,9 +37,9 @@ namespace Bit.App
|
||||
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 () =>
|
||||
{
|
||||
|
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 |
Loading…
Reference in New Issue
Block a user