mirror of
https://github.com/bitwarden/mobile
synced 2025-12-18 09:13:15 +00:00
refresh search on appear if has text
This commit is contained in:
@@ -75,6 +75,10 @@ namespace Bit.App.Pages
|
|||||||
{
|
{
|
||||||
WebsiteIconsEnabled = !(await _stateService.GetAsync<bool?>(Constants.DisableFaviconKey))
|
WebsiteIconsEnabled = !(await _stateService.GetAsync<bool?>(Constants.DisableFaviconKey))
|
||||||
.GetValueOrDefault();
|
.GetValueOrDefault();
|
||||||
|
if(!string.IsNullOrWhiteSpace((Page as CiphersPage).SearchBar.Text))
|
||||||
|
{
|
||||||
|
Search((Page as CiphersPage).SearchBar.Text, 500);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Search(string searchText, int? timeout = null)
|
public void Search(string searchText, int? timeout = null)
|
||||||
@@ -126,7 +130,7 @@ namespace Bit.App.Pages
|
|||||||
if(!string.IsNullOrWhiteSpace(AutofillUrl))
|
if(!string.IsNullOrWhiteSpace(AutofillUrl))
|
||||||
{
|
{
|
||||||
var options = new List<string> { AppResources.Autofill };
|
var options = new List<string> { AppResources.Autofill };
|
||||||
if(cipher.Type == CipherType.Login &&
|
if(cipher.Type == CipherType.Login &&
|
||||||
Xamarin.Essentials.Connectivity.NetworkAccess != Xamarin.Essentials.NetworkAccess.None)
|
Xamarin.Essentials.Connectivity.NetworkAccess != Xamarin.Essentials.NetworkAccess.None)
|
||||||
{
|
{
|
||||||
options.Add(AppResources.AutofillAndSave);
|
options.Add(AppResources.AutofillAndSave);
|
||||||
|
|||||||
Reference in New Issue
Block a user