diff --git a/MainPage.xaml.cpp b/MainPage.xaml.cpp index 5943e40a8f5ed71621edde41034ebb57b8e8787e..3214879ce73522da388ce0d6271fd6d1e4f12003 100644 --- a/MainPage.xaml.cpp +++ b/MainPage.xaml.cpp @@ -442,7 +442,7 @@ void RingClientUWP::MainPage::OnregistrationStateRegistered(const std::string& a { /* do not connect those delegates before initial registration on dht is fine. Otherwise your going to mess with the wizard */ - RingD::instance->nameRegistered += ref new RingClientUWP::NameRegistered(this, &RingClientUWP::MainPage::OnnameRegistred); + RingD::instance->nameRegistered += ref new RingClientUWP::NameRegistered(this, &RingClientUWP::MainPage::OnnameRegistered); RingD::instance->volatileDetailsChanged += ref new RingClientUWP::VolatileDetailsChanged(this, &MainPage::OnvolatileDetailsChanged); } @@ -451,7 +451,7 @@ void RingClientUWP::MainPage::OncallPlaced(Platform::String ^callId) } void -MainPage::OnnameRegistred(bool status, String ^accountId) +MainPage::OnnameRegistered(bool status, String ^accountId) { showLoadingOverlay(false, false); } @@ -472,4 +472,4 @@ void RingClientUWP::MainPage::OnFullScreenToggled(bool state) _innerSplitView_->IsPaneOpen = isSmartPanelOpen; _innerSplitView_->CompactPaneLength = 60; } -} \ No newline at end of file +} diff --git a/MainPage.xaml.h b/MainPage.xaml.h index 249074347f5b06f0a44c855fb6cd89534d36fd90..9218ad90c99f4be98d58dddf2818d9b238d8122e 100644 --- a/MainPage.xaml.h +++ b/MainPage.xaml.h @@ -96,7 +96,7 @@ private: void OnregistrationStateUnregistered(const std::string& accountId); void OnregistrationStateRegistered(const std::string& accountId); void OncallPlaced(Platform::String ^callId); - void OnnameRegistred(bool status, String ^accountId); + void OnnameRegistered(bool status, String ^accountId); void OnvolatileDetailsChanged(const std::string &accountId, const std::map<std::string, std::string>& details); }; } diff --git a/SmartPanel.xaml.cpp b/SmartPanel.xaml.cpp index b1316c2e46259feea3766c5b44dce8c693fe7849..274fa62ecb3f61c7d4db10d31244b8bdea6f1561 100644 --- a/SmartPanel.xaml.cpp +++ b/SmartPanel.xaml.cpp @@ -189,7 +189,7 @@ SmartPanel::SmartPanel() RingD::instance->newBuddyNotification += ref new RingClientUWP::NewBuddyNotification(this, &RingClientUWP::Views::SmartPanel::OnnewBuddyNotification); - RingD::instance->nameRegistered += ref new RingClientUWP::NameRegistered(this, &SmartPanel::OnnameRegistred); + RingD::instance->nameRegistered += ref new RingClientUWP::NameRegistered(this, &SmartPanel::OnnameRegistered); _networkConnectivityNotificationRow_->Height = Utils::hasInternet() ? 0 : 32; @@ -197,7 +197,7 @@ SmartPanel::SmartPanel() } void -SmartPanel::OnnameRegistred(bool status, String ^accountId) +SmartPanel::OnnameRegistered(bool status, String ^accountId) { updatePageContent(); } @@ -1165,7 +1165,7 @@ void RingClientUWP::Views::SmartPanel::OnregisteredNameFound(RingClientUWP::Look MSG_("INVALID_NAME LOOKUP RESULT"); std::regex sha1_regex("[0-9a-f]{40}"); if (std::regex_match(name, sha1_regex)) { - /* first we check if some contact is registred with this ring id */ + /* first we check if some contact is registered with this ring id */ auto contactAlreadyRecorded = contactListModel->findContactByRingId(Utils::toPlatformString(name)); if (contactAlreadyRecorded) { /* delete the contact added recently */ diff --git a/SmartPanel.xaml.h b/SmartPanel.xaml.h index 4c93416fecec6cefce677c0b3a4555aae387cc03..f965b4b5504f67675fb978edc52b2f9039813eca 100644 --- a/SmartPanel.xaml.h +++ b/SmartPanel.xaml.h @@ -127,7 +127,7 @@ private: void _addAccountYes__Click(Platform::Object^ sender, RoutedEventArgs^ e); void OnregistrationStateErrorGeneric(const std::string& accountId); void _PINTextBox__GotFocus(Platform::Object^ sender, RoutedEventArgs^ e); - void OnnameRegistred(bool status, String ^accountId); + void OnnameRegistered(bool status, String ^accountId); void OnregistrationStateRegistered(const std::string& accountId); void OncallPlaced(Platform::String ^callId); void OncontactDataModified(Platform::String ^account, Contact^ contact);