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

Missing icons for sport activities #371

Open
jmlich opened this issue May 10, 2024 · 0 comments
Open

Missing icons for sport activities #371

jmlich opened this issue May 10, 2024 · 0 comments

Comments

@jmlich
Copy link
Contributor

jmlich commented May 10, 2024

I have seen following error message in logs:

May 10 18:01:21 ubuntu-phablet aa-exec[117594]: file:///usr/lib/aarch64-linux-gnu/qt5/qml/Lomiri/Components/1.3/Icon.qml:115:5: QML Image: Cannot open: file:///opt/click.ubuntu.com/uk.co.piggz.amazfish/2.2.6/share/harbour-amazfish-ui/qml/pics/custom-icons/icon-m-activity.png

It is not obvious, but the icon is loaded at

iconName: styler.customIconPrefix + "icon-m-" + kindstring.toLowerCase() + styler.customIconSuffix

The kind string (taken from sports_data database table) is converted from number to string at

QString Amazfish::activityToString(Amazfish::ActivityType type)

Every activity kind should have own icon in https://github.com/piggz/harbour-amazfish/tree/master/ui/qml/custom-icons, but it seems following icons are missing:

icon-m-notmeasured.png
icon-m-activity.png
icon-m-lightsleep.png
icon-m-deepsleep.png
icon-m-notworn.png
icon-m-exercise.png
icon-m-eliptical trainer.png
icon-m-jump rope.png
icon-m-yoga.png
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

No branches or pull requests

1 participant