Reduce usage of ternaries in Theme file#168
Merged
Merged
Conversation
hebasto
reviewed
Aug 23, 2022
Reduces usage of ternaries in Theme.qml by abstracting definitions of colors and images into "Sets" and using the definitions from the appropriate set for the current dark mode setting. Co-authored-by: João Barbosa <joao.paulo.barbosa@gmail.com>
9ff8924 to
6e0ee80
Compare
Contributor
Author
hebasto
pushed a commit
to hebasto/gui-qml
that referenced
this pull request
Jun 8, 2025
Reduces usage of ternaries in Theme.qml by abstracting definitions of colors and images into "Sets" and using the definitions from the appropriate set for the current dark mode setting. Github-Pull: bitcoin-core#168 Rebased-From: 6e0ee80 Co-authored-by: João Barbosa <joao.paulo.barbosa@gmail.com>
hebasto
pushed a commit
to hebasto/gui-qml
that referenced
this pull request
Jun 8, 2025
Reduces usage of ternaries in Theme.qml by abstracting definitions of colors and images into "Sets" and using the definitions from the appropriate set for the current dark mode setting. Github-Pull: bitcoin-core#168 Rebased-From: 6e0ee80 Co-authored-by: João Barbosa <joao.paulo.barbosa@gmail.com>
hebasto
pushed a commit
to hebasto/gui-qml
that referenced
this pull request
Jun 9, 2025
Reduces usage of ternaries in Theme.qml by abstracting definitions of colors and images into "Sets" and using the definitions from the appropriate set for the current dark mode setting. Github-Pull: bitcoin-core#168 Rebased-From: 6e0ee80 Co-authored-by: João Barbosa <joao.paulo.barbosa@gmail.com>
hebasto
pushed a commit
to hebasto/gui-qml
that referenced
this pull request
Jun 9, 2025
Reduces usage of ternaries in Theme.qml by abstracting definitions of colors and images into "Sets" and using the definitions from the appropriate set for the current dark mode setting. Github-Pull: bitcoin-core#168 Rebased-From: 6e0ee80 Co-authored-by: João Barbosa <joao.paulo.barbosa@gmail.com>
johnny9
pushed a commit
to johnny9/bitcoin-core-app
that referenced
this pull request
Jul 4, 2025
23743d9 qml: reduce usage of ternaries in Theme file (Jarol Rodriguez) Pull request description: Reduces usage of ternaries in Theme.qml by abstracting definitions of colors and image urls into "Sets" and using the definitions from the appropriate set for the current dark mode setting. This is a late follow-up to this review by **promag**: bitcoin-core/gui-qml#109 (comment) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/insecure_win_gui.zip?branch=pull/168) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/insecure_mac_gui.zip?branch=pull/168) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/insecure_mac_arm64_gui.zip?branch=pull/168) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/168) ACKs for top commit: hebasto: ACK 23743d9, I have reviewed the code and it looks OK, I agree it can be merged. Tree-SHA512: 7ab4e6bd34386da2086aeb40c5520ffb401cbefa7be4510ce9654cf939ef0569661ba4a8a22752f16b8ce053ab07dbdd2a1d01dc62d159f808436ef070e94d02
tx-signer450
added a commit
to tx-signer450/gui-qml
that referenced
this pull request
Oct 20, 2025
23743d9e82bedcc65927fd96158e9758b49072fe qml: reduce usage of ternaries in Theme file (Jarol Rodriguez) Pull request description: Reduces usage of ternaries in Theme.qml by abstracting definitions of colors and image urls into "Sets" and using the definitions from the appropriate set for the current dark mode setting. This is a late follow-up to this review by **promag**: bitcoin-core/gui-qml#109 (comment) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/insecure_win_gui.zip?branch=pull/168) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/insecure_mac_gui.zip?branch=pull/168) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/insecure_mac_arm64_gui.zip?branch=pull/168) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/168) ACKs for top commit: hebasto: ACK 23743d9e82bedcc65927fd96158e9758b49072fe, I have reviewed the code and it looks OK, I agree it can be merged. Tree-SHA512: 7ab4e6bd34386da2086aeb40c5520ffb401cbefa7be4510ce9654cf939ef0569661ba4a8a22752f16b8ce053ab07dbdd2a1d01dc62d159f808436ef070e94d02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reduces usage of ternaries in Theme.qml by abstracting definitions of colors and image urls into "Sets" and using the definitions from the appropriate set for the current dark mode setting.
This is a late follow-up to this review by promag: #109 (comment)