Commit 3f7f5533 authored by Nicolas Jager's avatar Nicolas Jager

fix : smartpanel, show alias instead of accountid.

Change-Id: I838ea45b428d22d8514bc3ec6f2b45f8178160da
Tuleap: #1219
parent d0830772
......@@ -134,12 +134,12 @@ RingClientUWP::Views::SmartPanel::updatePageContent()
if (!account)
return;
auto accountId = account->accountID_;
auto name = account->name_;
Configuration::UserPreferences::instance->PREF_ACCOUNT_INDEX = _accountsList_->SelectedIndex;
Configuration::UserPreferences::instance->save();
_selectedAccountName_->Text = accountId;
_selectedAccountName_->Text = name;
/// _devicesIdList_->ItemsSource = account->_devicesIdList;
_deviceId_->Text = account->_deviceId; /* this is the current device ...
... in the way to get all associated devices, we have to querry the daemon : */
......@@ -148,7 +148,7 @@ RingClientUWP::Views::SmartPanel::updatePageContent()
? Windows::UI::Xaml::Visibility::Visible
: Windows::UI::Xaml::Visibility::Collapsed;
RingD::instance->askToRefreshKnownDevices(accountId);
RingD::instance->askToRefreshKnownDevices(name);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment