remove lots of mainpage code since we allow closing of autofill page now

This commit is contained in:
Kyle Spearrin 2017-02-03 00:26:55 -05:00
parent 8e9becd579
commit 31b2eeb293
3 changed files with 0 additions and 13 deletions

View File

@ -98,7 +98,6 @@ namespace Bit.Android
private void ReturnCredentials(VaultListPageModel.Login login)
{
App.App.FromAutofillService = true;
Intent data = new Intent();
if(login == null)
{

View File

@ -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;

View File

@ -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 ?? "--"),