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

improve dex screens on mobile #719

Merged
merged 6 commits into from
Jan 30, 2025
Merged

Conversation

dreacot
Copy link
Member

@dreacot dreacot commented Jan 30, 2025

@dreacot dreacot changed the title improved dex screens on mobile improve dex screens on mobile Jan 30, 2025
@ukane-philemon
Copy link
Collaborator

Screenshot 2025-01-30 at 2 50 40 PM

I think we could introduce short forms for mobile to prevent ugly breaks like this, e.g 24h Vol.(DCR)?

Comment on lines 141 to 149
// if !appos.Current().IsDarwin() {
// Determine the insertion point, which is second to last position
insertionPoint := len(navigationTabTitles) - 1
if insertionPoint < 0 {
insertionPoint = 0
}
// Append at the second to last position
navigationTabTitles = append(navigationTabTitles[:insertionPoint], append([]string{values.String(values.StrTrade)}, navigationTabTitles[insertionPoint:]...)...)
// }
Copy link
Collaborator

Choose a reason for hiding this comment

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

oops?

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch

@dreacot
Copy link
Member Author

dreacot commented Jan 30, 2025

Screenshot 2025-01-30 at 2 50 40 PM I think we could introduce short forms for mobile to prevent ugly breaks like this, e.g 24h Vol.(DCR)?
Screenshot 2025-01-30 at 3 36 43 PM looks like each element moves independently

@dreacot dreacot merged commit b60f2d6 into crypto-power:master Jan 30, 2025
1 check passed
@ukane-philemon
Copy link
Collaborator

Screenshot 2025-01-30 at 2 50 40 PM I think we could introduce short forms for mobile to prevent ugly breaks like this, e.g 24h Vol.(DCR)?

Screenshot 2025-01-30 at 3 36 43 PM looks like each element moves independently

Ah I see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants