mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
back to old search icon
This commit is contained in:
parent
b35e3454f0
commit
155b8b472f
5 changed files with 3 additions and 3 deletions
|
@ -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 a new issue