Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes round 3 #1063

Merged
merged 3 commits into from
Mar 26, 2024
Merged

Fixes round 3 #1063

merged 3 commits into from
Mar 26, 2024

Conversation

GhenadieVP
Copy link
Contributor

@GhenadieVP GhenadieVP commented Mar 26, 2024

Final-final-v6 round of bug fixing...

Fix for AdHoc reported bugs:

  • Showing Fiat values for release builds in Assets and details.
  • Not being able to enter pool units amount

Demo

RPReplay_Final1711463312.MP4

@@ -68,6 +68,9 @@ extension AssetsView {
}
}
}
#if !DEBUG
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In DEBUG the default value will be used, which is false. So Fiat value will always be shown in DEBUG mode.

@@ -465,7 +468,7 @@ extension ResourceBalanceView {
}

private var useSpacer: Bool {
amount != nil || fallback != nil || caption1 == nil
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't a good place for the fix, it did push out completely the text field for amount entry.

@@ -15,6 +15,12 @@ extension ResourceAddress {
static let mainnetXRDAddress: ResourceAddress = .xrd(on: .mainnet)
}

extension SpecificAddress {
var isOnMainnet: Bool {
networkID == NetworkID.mainnet
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please out put this in another file. Please :D RadixWallet/EngineKit/ is verboten! :D

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohh yes, forgoten it is verboten :D

Copy link
Contributor

@CyonAlexRDX CyonAlexRDX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just move the EngineKit computed property

@GhenadieVP GhenadieVP merged commit 693eafb into main Mar 26, 2024
6 checks passed
@GhenadieVP GhenadieVP deleted the fixes_round_3 branch March 26, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants