Seed: fix misc UI

This commit is contained in:
tobtoht
2022-05-26 20:30:39 +02:00
parent 93a6a986e0
commit 6633353bf3
8 changed files with 27 additions and 19 deletions
+2 -5
View File
@@ -67,11 +67,8 @@ void DebugInfoDialog::updateInfo() {
QString seedType = [this](){
if (m_ctx->wallet->isHwBacked())
return "Hardware";
if (m_ctx->wallet->getCacheAttribute("feather.seed").isEmpty())
return "25 word";
else
return "14 word";
return QString("Hardware");
return QString("%1 word").arg(m_ctx->wallet->seedLength());
}();
QString deviceType = [this](){