mirror of
https://github.com/ratspeak/ratdeck.git
synced 2026-09-16 08:02:36 +00:00
Merge pull request #40 from drkhsh/fix/full-address-display
Settings: show full LXMF address and identity hash
This commit is contained in:
@@ -96,10 +96,10 @@ void LvSettingsScreen::buildItems() {
|
||||
[](int) { return String(RATDECK_VERSION_STRING); }});
|
||||
idx++;
|
||||
_items.push_back({"LXMF Addr", SettingType::READONLY, nullptr, nullptr,
|
||||
[this](int) { return _destinationHash.length() > 0 ? _destinationHash.substring(0, 16) : String("unknown"); }});
|
||||
[this](int) { return _destinationHash.length() > 0 ? _destinationHash : String("unknown"); }});
|
||||
idx++;
|
||||
_items.push_back({"Identity", SettingType::READONLY, nullptr, nullptr,
|
||||
[this](int) { return _identityHash.substring(0, 16); }});
|
||||
[this](int) { return _identityHash; }});
|
||||
idx++;
|
||||
{
|
||||
SettingItem nameItem;
|
||||
|
||||
Reference in New Issue
Block a user