/// <summary> /// Called on start. If update unsuccessful show error popup and retry /// </summary> private async Task InitFromApi() { activityIndicator.IsVisible = true; await NetExceptionCatchHelpers.CatchNetException( async() => { await messagesManager.UpdateMessagesFromApi(dialogId); dialogsManager.SetIsInitRequiredToFalse(dialogId); }, InitFromApi, LocalizedStrings.MessagesNoInternetError); activityIndicator.IsVisible = false; }