Fix tab indentation
This commit is contained in:
		| @@ -112,7 +112,6 @@ namespace keepass2android | |||||||
| 	{ | 	{ | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| 		public void Lock(bool allowQuickUnlock = true, bool lockWasTriggeredByTimeout = false) | 		public void Lock(bool allowQuickUnlock = true, bool lockWasTriggeredByTimeout = false) | ||||||
| 	    { | 	    { | ||||||
| 			if (OpenDatabases.Any()) | 			if (OpenDatabases.Any()) | ||||||
| @@ -663,47 +662,47 @@ namespace keepass2android | |||||||
| 			); | 			); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         /// <summary> | 		/// <summary> | ||||||
|         /// Shows all non-dismissed progress dialogs. | 		/// Shows all non-dismissed progress dialogs. | ||||||
| 		/// If there are multiple progressDialogs active, they all will be showing. | 		/// If there are multiple progressDialogs active, they all will be showing. | ||||||
| 		/// There probably will never be multiple dialogs at the same time because only one ProgressTask can run at a time. | 		/// There probably will never be multiple dialogs at the same time because only one ProgressTask can run at a time. | ||||||
|         /// Even if multiple dialogs show at the same time, it shouldn't be too much of an issue | 		/// Even if multiple dialogs show at the same time, it shouldn't be too much of an issue | ||||||
| 		/// because they are just progress indicators. | 		/// because they are just progress indicators. | ||||||
|         /// </summary> | 		/// </summary> | ||||||
|         private void ShowAllActiveProgressDialogs() | 		private void ShowAllActiveProgressDialogs() | ||||||
| 		{ | 		{ | ||||||
|             foreach (RealProgressDialog progressDialog in _activeProgressDialogs) | 			foreach (RealProgressDialog progressDialog in _activeProgressDialogs) | ||||||
|             { | 			{ | ||||||
|                 progressDialog.Show(); | 				progressDialog.Show(); | ||||||
|             } | 			} | ||||||
|         } | 		} | ||||||
|  |  | ||||||
|         private void HideAllActiveProgressDialogs() | 		private void HideAllActiveProgressDialogs() | ||||||
|         { |  | ||||||
|             foreach (RealProgressDialog progressDialog in _activeProgressDialogs) |  | ||||||
|             { |  | ||||||
|                 progressDialog.Hide(); |  | ||||||
|             } |  | ||||||
|         } |  | ||||||
|  |  | ||||||
|         /// <summary> |  | ||||||
|         /// Hide progress dialogs whenever a dialog that requires user interaction |  | ||||||
|         /// appears so that the progress dialogs cannot cover the user-interaction dialog |  | ||||||
|         /// </summary> |  | ||||||
|         private void OnUserInputDialogShow() |  | ||||||
| 		{ | 		{ | ||||||
|             _isShowingUserInputDialog = true; | 			foreach (RealProgressDialog progressDialog in _activeProgressDialogs) | ||||||
|             HideAllActiveProgressDialogs(); | 			{ | ||||||
|         } | 				progressDialog.Hide(); | ||||||
|  | 			} | ||||||
|  | 		} | ||||||
|  |  | ||||||
|         /// <summary> | 		/// <summary> | ||||||
|         /// Show previously hidden progress dialogs after user interaction with dialog finished | 		/// Hide progress dialogs whenever a dialog that requires user interaction | ||||||
|         /// </summary> | 		/// appears so that the progress dialogs cannot cover the user-interaction dialog | ||||||
|         private void OnUserInputDialogClose() | 		/// </summary> | ||||||
|  | 		private void OnUserInputDialogShow() | ||||||
| 		{ | 		{ | ||||||
|             _isShowingUserInputDialog = false; | 			_isShowingUserInputDialog = true; | ||||||
|             ShowAllActiveProgressDialogs(); | 			HideAllActiveProgressDialogs(); | ||||||
|         } | 		} | ||||||
|  |  | ||||||
|  | 		/// <summary> | ||||||
|  | 		/// Show previously hidden progress dialogs after user interaction with dialog finished | ||||||
|  | 		/// </summary> | ||||||
|  | 		private void OnUserInputDialogClose() | ||||||
|  | 		{ | ||||||
|  | 			_isShowingUserInputDialog = false; | ||||||
|  | 			ShowAllActiveProgressDialogs(); | ||||||
|  | 		} | ||||||
|  |  | ||||||
|         public Handler UiThreadHandler  |         public Handler UiThreadHandler  | ||||||
| 		{ | 		{ | ||||||
| @@ -746,7 +745,7 @@ namespace keepass2android | |||||||
| 					Kp2aLog.LogUnexpectedError(e); | 					Kp2aLog.LogUnexpectedError(e); | ||||||
| 				} | 				} | ||||||
| 				_app._activeProgressDialogs.Remove(this); | 				_app._activeProgressDialogs.Remove(this); | ||||||
|             } | 			} | ||||||
|  |  | ||||||
| 			public void Show() | 			public void Show() | ||||||
| 			{ | 			{ | ||||||
| @@ -766,9 +765,8 @@ namespace keepass2android | |||||||
|  |  | ||||||
| 		public IProgressDialog CreateProgressDialog(Context ctx) | 		public IProgressDialog CreateProgressDialog(Context ctx) | ||||||
| 		{ | 		{ | ||||||
| 			var newProgressDialog = new RealProgressDialog(ctx, this); |             return new RealProgressDialog(ctx, this); | ||||||
|             return newProgressDialog; |         } | ||||||
| 		} |  | ||||||
|  |  | ||||||
| 		public IFileStorage GetFileStorage(IOConnectionInfo iocInfo) | 		public IFileStorage GetFileStorage(IOConnectionInfo iocInfo) | ||||||
| 		{ | 		{ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 ianjazz246
					ianjazz246