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

Create Tools App #169

Merged
merged 7 commits into from
Jan 24, 2024
Merged

Create Tools App #169

merged 7 commits into from
Jan 24, 2024

Conversation

fortuna
Copy link
Contributor

@fortuna fortuna commented Jan 19, 2024

This helped me debug the CNAME lookup on Android, and come up with a solution.

image image image

@fortuna fortuna requested a review from jyyi1 January 19, 2024 23:55
@fortuna fortuna requested a review from daniellacosse January 23, 2024 17:19
return t.Color(theme.ColorNamePrimary, variant)
case theme.ColorNamePrimary:
if variant == theme.VariantLight {
return color.RGBA{R: 0x00, G: 0x67, B: 0x7F, A: 255}
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: RGB is pretty unintuitive, I have no idea what color this is by looking at the code. Mind either assigning these to well-named variables or just commenting what colors they are?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added comments. Unfortunately there's no HSL support in Fyne or Go's color package.

aBox.SetText("❌ " + err.Error())
} else {
texts := make([]string, len(ips))
for ii, ip := range ips {
Copy link
Contributor

Choose a reason for hiding this comment

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

annoying there's no map function

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed. Though the code is quite readable this way.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah it's fine

@fortuna fortuna merged commit d6d41cc into main Jan 24, 2024
6 checks passed
@fortuna fortuna deleted the fortuna-tools-app branch January 24, 2024 21:57
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