mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:12:38 +00:00
Display settings: add mBTC/uBTC units and Qt-compatible display-unit migration #587
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml#587
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Code Gap
QML Display settings only expose BTC and sat in
qml/pages/settings/SettingsDisplayUnit.qml, while Qt supports BTC, mBTC, uBTC, and sat.QML also persists the setting with
SettingsKeys::DISPLAY_UNIT(displayUnit), while Qt usesDisplayBitcoinUnitinbitcoin/src/qt/optionsmodel.cpp.Work Needed
SettingsDisplayUnit.qml.displayUnitand QtDisplayBitcoinUnit.Lets make sure the units migrate properly but we don't need to support mbtc or ubtc
I’m working on a settings/onboarding QML branch that partially addresses this issue. This can be considered picked up for now; once the PR is ready, I’ll revisit whether it fully addresses this issue or whether follow-up work should remain tracked here.