Added medium sized widget that shows weekly statistics#8
Open
vmarquar wants to merge 7 commits intodwd0tcom:masterfrom
Open
Added medium sized widget that shows weekly statistics#8vmarquar wants to merge 7 commits intodwd0tcom:masterfrom
vmarquar wants to merge 7 commits intodwd0tcom:masterfrom
Conversation
Owner
|
Wohoo! Thanks for your PR. Thanks! |
vmarquar
commented
Jul 26, 2022
| // Set to false if you don't want to see a photo | ||
| const photoWidget = true | ||
| const MAX_Y_HEIGHT = 75; // for medium widget | ||
| const DISPLAY_SINGLE_ACTIVITY_AS_MEDIUM_WIDGET = false // set it to true, if you want to display the latest activity as a medium widget |
Author
There was a problem hiding this comment.
added an easy option to opt out of the second medium sized widget
vmarquar
commented
Jul 26, 2022
| filename = filename ? filename : 'strava-data.json' | ||
| let fm = FileManager.iCloud(); | ||
| let path = fm.joinPath(fm.documentsDirectory(), filename); | ||
| try { |
Author
There was a problem hiding this comment.
added error fix, as you suggested
vmarquar
commented
Jul 26, 2022
Author
vmarquar
left a comment
There was a problem hiding this comment.
added bugfix to load the file from icloud if it has not been synced yet.
This file contains hidden or 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
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.
Hi,
i created an new medium sized widget that shows the weekly statistics over multiple sports (mainly run, bike, swim). Feel free to add the changes to your original repository if you like to!
Kind Regards,
Valentin