-
Notifications
You must be signed in to change notification settings - Fork 30
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
Conversation
This file contains 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
Member
dreacot
commented
Jan 30, 2025
![](https://private-user-images.githubusercontent.com/25265396/408117452-135eb271-4ade-4c10-b19f-5822040b334c.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MzEyMTIsIm5iZiI6MTczODgzMDkxMiwicGF0aCI6Ii8yNTI2NTM5Ni80MDgxMTc0NTItMTM1ZWIyNzEtNGFkZS00YzEwLWIxOWYtNTgyMjA0MGIzMzRjLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA4MzUxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE0NDhiZGExOGExYmI3ZjQ5ZDhkODU5ZTkyZGJlMjZkODI5YzNkZmFjM2E0YmMwOWNhMTdiOTQ5MDVkYjA5ZDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.RnenfRdzsEH49rkRzacyff8ip0bdPfqVDrE-7H32oYg)
![](https://private-user-images.githubusercontent.com/25265396/408117431-dee4ae87-4edc-411a-90a8-505830b87deb.jpg?jwt=eyJhbGciOiJIUz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zUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA4MzUxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU1NmZkZDYyYTI5MTkzOWI3OWU2YjQxYmM2YzJiMzBkMmNlMTU5NWU4MjUyNTRlYjE1OWVkNDZmOGE4YjA2N2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.44RJzX32OoD1BqgxGtV_W_ABQzlFeFTKdVSPTW3HGrE)
![](https://private-user-images.githubusercontent.com/25265396/408117417-d80aa450-e208-48b7-aa28-515030ca49e6.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MzEyMTIsIm5iZiI6MTczODgzMDkxMiwicGF0aCI6Ii8yNTI2NTM5Ni80MDgxMTc0MTctZDgwYWE0NTAtZTIwOC00OGI3LWFhMjgtNTE1MDMwY2E0OWU2LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA4MzUxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThkNTcyNmVlYzE1Y2Y5YjI0MGJiZjcyNmVmYmM2MmUxYTFmNjgyMTMxNGJmYjVlOGI5ZmM2NjY0MTM3OWUzYmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.bLmZry1tYyHmuYb9dCoC_kVeC_VPDx-Gklga6de_6J4)
ukane-philemon
requested changes
Jan 30, 2025
ui/page/root/home_page.go
Outdated
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:]...)...) | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch
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.