-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Maintenance PR #445
Maintenance PR #445
Conversation
The CI tests all fail because they use an old Dart version. |
I also added new icons for all platforms. |
Cool, thanks! Yeah, we need to finish work on |
aweome, will check it out |
Oh, what I did was just replace it with the community-maintained fork: I do agree, though, that using |
BTW, how did you generate the images? We were (or rather, used once) the flutter_launcher_icons package |
@rolandgeider Manually. I made a template for app icons in Figma for myself, which I've used for all my projects and it was easy to just plug the wger icon into that too. Figma lets you specify multiple export sizes as well as suffixes, so once you've got that set up in Figma, getting the iOS and macOS icons is just a simple matter of dragging those exports into the right folder. For Android, I exported an SVG for the foreground and converted that into an Android Drawable via Android Studio. (I didn't update any of the old Android PNGs, as that would require manually renaming each exported PNG and dragging it into the right folder — while Figma supports specifying export prefixes and suffixes, it does not support specifying different folders for each export, so it's not quite as simple to generate PNG icons for Android. I suppose you could write an automated script for this, but a vector version works well enough for everything v26 and onward, so I didn't see a need to.) |
so if/when we change the target sdk to 26 we could remove the android png icons, right? |
Sure. That said, the vector drawable in the PR is used automatically for all platforms 26 and above, so the PNGs only serve as fallback for older platforms. |
👍🏻 yeah, that's what I meant. I think at the moment we have something lower than that, like 23 or so |
# Conflicts: # lib/theme/theme.dart # lib/widgets/core/charts.dart # lib/widgets/dashboard/widgets.dart # lib/widgets/nutrition/charts.dart # lib/widgets/workouts/charts.dart # pubspec.lock # pubspec.yaml # test_driver/screenshot_driver.dart
Merged thanks :) |
Various minor fixes, partly to get the project to build on macOS with the latest version of Flutter, partly to fix lint warnings.
All changes are annotated in the relevant commits.