From d5b3bd59059a2874446b56bb1ab63e6f886646f0 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 12 Jul 2018 13:12:42 -0400 Subject: [PATCH] remove no connection alert on appearing of pages --- src/App/Pages/Settings/SettingsAddFolderPage.cs | 4 ---- src/App/Pages/Settings/SettingsEditFolderPage.cs | 5 ----- src/App/Pages/Settings/SettingsSyncPage.cs | 4 ---- src/App/Pages/Vault/VaultAddCipherPage.cs | 4 ---- src/App/Pages/Vault/VaultEditCipherPage.cs | 5 ----- src/iOS.Extension/LoginAddViewController.cs | 4 ---- 6 files changed, 26 deletions(-) diff --git a/src/App/Pages/Settings/SettingsAddFolderPage.cs b/src/App/Pages/Settings/SettingsAddFolderPage.cs index 097e693de..2802cb254 100644 --- a/src/App/Pages/Settings/SettingsAddFolderPage.cs +++ b/src/App/Pages/Settings/SettingsAddFolderPage.cs @@ -118,10 +118,6 @@ namespace Bit.App.Pages { base.OnAppearing(); NameCell.InitEvents(); - if(!_connectivity.IsConnected) - { - AlertNoConnection(); - } } protected override void OnDisappearing() diff --git a/src/App/Pages/Settings/SettingsEditFolderPage.cs b/src/App/Pages/Settings/SettingsEditFolderPage.cs index f1f94a5e1..30c5e921f 100644 --- a/src/App/Pages/Settings/SettingsEditFolderPage.cs +++ b/src/App/Pages/Settings/SettingsEditFolderPage.cs @@ -131,11 +131,6 @@ namespace Bit.App.Pages base.OnAppearing(); NameCell.InitEvents(); DeleteCell.Tapped += DeleteCell_Tapped; - - if(!_connectivity.IsConnected) - { - AlertNoConnection(); - } } protected override void OnDisappearing() diff --git a/src/App/Pages/Settings/SettingsSyncPage.cs b/src/App/Pages/Settings/SettingsSyncPage.cs index dee0c477c..d3d6ed5ce 100644 --- a/src/App/Pages/Settings/SettingsSyncPage.cs +++ b/src/App/Pages/Settings/SettingsSyncPage.cs @@ -68,10 +68,6 @@ namespace Bit.App.Pages protected override void OnAppearing() { base.OnAppearing(); - if(!_connectivity.IsConnected) - { - AlertNoConnection(); - } } private void SetLastSync() diff --git a/src/App/Pages/Vault/VaultAddCipherPage.cs b/src/App/Pages/Vault/VaultAddCipherPage.cs index 7f6ff9bd7..2020ac6fe 100644 --- a/src/App/Pages/Vault/VaultAddCipherPage.cs +++ b/src/App/Pages/Vault/VaultAddCipherPage.cs @@ -177,10 +177,6 @@ namespace Bit.App.Pages protected override void OnAppearing() { base.OnAppearing(); - if(!_connectivity.IsConnected) - { - AlertNoConnection(); - } NameCell.InitEvents(); NotesCell.InitEvents(); diff --git a/src/App/Pages/Vault/VaultEditCipherPage.cs b/src/App/Pages/Vault/VaultEditCipherPage.cs index ec13432c3..67151a3d5 100644 --- a/src/App/Pages/Vault/VaultEditCipherPage.cs +++ b/src/App/Pages/Vault/VaultEditCipherPage.cs @@ -667,11 +667,6 @@ namespace Bit.App.Pages protected override void OnAppearing() { base.OnAppearing(); - if(!_connectivity.IsConnected) - { - AlertNoConnection(); - } - NameCell?.InitEvents(); NotesCell?.InitEvents(); FolderCell?.InitEvents(); diff --git a/src/iOS.Extension/LoginAddViewController.cs b/src/iOS.Extension/LoginAddViewController.cs index 9fecf37e7..34e463f70 100644 --- a/src/iOS.Extension/LoginAddViewController.cs +++ b/src/iOS.Extension/LoginAddViewController.cs @@ -112,10 +112,6 @@ namespace Bit.iOS.Extension public override void ViewDidAppear(bool animated) { base.ViewDidAppear(animated); - if(!_connectivity.IsConnected) - { - AlertNoConnection(); - } } partial void CancelBarButton_Activated(UIBarButtonItem sender)