mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
refresh search on appear if has text
This commit is contained in:
parent
65725b5a38
commit
cf35d20adb
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue