From 2d6407f9a0a9a8cbb39078d210bbe93ff650cb82 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 6 Aug 2016 11:43:22 -0400 Subject: [PATCH] Only show IsBusy indicator on vault list pages --- src/App/Controls/ExtendedContentPage.cs | 6 ++---- src/App/Pages/Vault/VaultListSitesPage.cs | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/App/Controls/ExtendedContentPage.cs b/src/App/Controls/ExtendedContentPage.cs index 7537635db..0a22df632 100644 --- a/src/App/Controls/ExtendedContentPage.cs +++ b/src/App/Controls/ExtendedContentPage.cs @@ -9,7 +9,7 @@ namespace Bit.App.Controls private ISyncService _syncService; private bool _syncIndicator; - public ExtendedContentPage(bool syncIndicator = true) + public ExtendedContentPage(bool syncIndicator = false) { _syncIndicator = syncIndicator; _syncService = Resolver.Resolve(); @@ -18,8 +18,6 @@ namespace Bit.App.Controls if(_syncIndicator) { - IsBusy = _syncService.SyncInProgress; - MessagingCenter.Subscribe(Application.Current, "SyncCompleted", (sender, success) => { IsBusy = _syncService.SyncInProgress; @@ -48,7 +46,7 @@ namespace Bit.App.Controls { if(_syncIndicator) { - IsBusy = _syncService.SyncInProgress; + IsBusy = false; } base.OnDisappearing(); diff --git a/src/App/Pages/Vault/VaultListSitesPage.cs b/src/App/Pages/Vault/VaultListSitesPage.cs index 6492e7fe2..de77a3081 100644 --- a/src/App/Pages/Vault/VaultListSitesPage.cs +++ b/src/App/Pages/Vault/VaultListSitesPage.cs @@ -31,6 +31,7 @@ namespace Bit.App.Pages private bool _loadExistingData; public VaultListSitesPage(bool favorites) + : base(true) { _favorites = favorites; _folderService = Resolver.Resolve();