mirror of
https://github.com/bitwarden/mobile
synced 2026-01-02 00:23:15 +00:00
back to old search icon
This commit is contained in:
@@ -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 |
Reference in New Issue
Block a user