mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 09:58:27 +03:00
remove lots of mainpage code since we allow closing of autofill page now
This commit is contained in:
parent
8e9becd579
commit
31b2eeb293
3 changed files with 0 additions and 13 deletions
|
@ -98,7 +98,6 @@ namespace Bit.Android
|
|||
|
||||
private void ReturnCredentials(VaultListPageModel.Login login)
|
||||
{
|
||||
App.App.FromAutofillService = true;
|
||||
Intent data = new Intent();
|
||||
if(login == null)
|
||||
{
|
||||
|
|
|
@ -33,8 +33,6 @@ namespace Bit.App
|
|||
private readonly ILocalizeService _localizeService;
|
||||
private CancellationTokenSource _setMainPageCancellationTokenSource = null;
|
||||
|
||||
public static bool FromAutofillService { get; set; } = false;
|
||||
|
||||
public App(
|
||||
string uri,
|
||||
IAuthService authService,
|
||||
|
@ -63,7 +61,6 @@ namespace Bit.App
|
|||
SetCulture();
|
||||
SetStyles();
|
||||
|
||||
FromAutofillService = !string.IsNullOrWhiteSpace(_uri);
|
||||
if(authService.IsAuthenticated && _uri != null)
|
||||
{
|
||||
MainPage = new ExtendedNavigationPage(new VaultAutofillListLoginsPage(_uri));
|
||||
|
@ -172,7 +169,6 @@ namespace Bit.App
|
|||
});
|
||||
|
||||
_uri = null;
|
||||
FromAutofillService = false;
|
||||
}, cts.Token);
|
||||
|
||||
return cts;
|
||||
|
|
|
@ -61,14 +61,6 @@ namespace Bit.App.Pages
|
|||
|
||||
private void Init()
|
||||
{
|
||||
MessagingCenter.Subscribe<Application, bool>(Application.Current, "SyncCompleted", (sender, success) =>
|
||||
{
|
||||
if(success)
|
||||
{
|
||||
_filterResultsCancellationTokenSource = FetchAndLoadVault();
|
||||
}
|
||||
});
|
||||
|
||||
var noDataLabel = new Label
|
||||
{
|
||||
Text = string.Format(AppResources.NoLoginsForUri, _name ?? "--"),
|
||||
|
|
Loading…
Reference in a new issue