DodoForMastodon
DodoForMastodon copied to clipboard
Added Moko Resources
๐ What does this PR do?
This PR adds Moko Resources to the repo, as well as a small sample to showcase its use.
This includes;
- Accessing a string with possible localization
- Accessing an image file by name, with fallback image
- Accessing a color, with potential theming (this probably won't be used?)
- Accessing a .json file for mocking network test responses
โ Checklist
- [ ] My pull request adheres to the code style of this project
- [ ] My code requires changes to the documentation
- [ ] I have updated the documentation as required
- [x] All the tests (that I touched) have passed
๐งช How can this PR been tested?
The tests I added should indicate that things are working to some degree, at least for the API tests, but I did not add a test to check the contents of the resource being accessed. Please let me know if you need me to do that.
๐งพ Tasks Remaining: (List of tasks remaining to be implemented)
I don't have a MacBook and we don't have a ci up yet, so someone will please have to help make sure it works for iOS/mac.
I would just like feedback on this, please :)
@JacquesSmuts I apologize - I missed this PR. Can you please update and fix merge conflicts then request review from me? I can test this out locally as well as I have a Mac. Thanks!
what is the status of this pr?