diff options
author | Sergei Kozelko <KozelkoS@yandex.ru> | 2022-10-08 04:22:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-08 04:22:22 +0000 |
commit | 01071e2a526119c703e4a8b11e03949cfb115934 (patch) | |
tree | b12178cf26d2381eb478efc0b54a7cd10429b37a /app/src/main/res/values-vi/strings.xml | |
parent | 4947bc1be5ae386f62e9d5018c54fd763c9805c5 (diff) | |
download | infinity-for-reddit-01071e2a526119c703e4a8b11e03949cfb115934.tar infinity-for-reddit-01071e2a526119c703e4a8b11e03949cfb115934.tar.gz infinity-for-reddit-01071e2a526119c703e4a8b11e03949cfb115934.tar.bz2 infinity-for-reddit-01071e2a526119c703e4a8b11e03949cfb115934.tar.lz infinity-for-reddit-01071e2a526119c703e4a8b11e03949cfb115934.tar.xz infinity-for-reddit-01071e2a526119c703e4a8b11e03949cfb115934.tar.zst infinity-for-reddit-01071e2a526119c703e4a8b11e03949cfb115934.zip |
Refactor and de-duplicate markdown code (#1086)
* Add todos to places that need more markdown fixes
* Parse spoilers and headings in sidebar
* Assign anonymous MarkwonPlugin to a variable
Prepare code for a future refactoring
* Assign click listener lambda to a variable
Prepare code for a future refactoring
* Add function for creating Markwon with full markdown
All the builders had the same plugins applied to them, except for
BetterLinkMovement. But it is safe to add the plugin as it just adjusts
link interactions.
Also some plugins are now applied in a different order but it doesn't
change anything in this case.
* Add function for creating Markwon with only links support
* Extract UrlMenuBottomSheetFragment creation
* Add functions for creating MarkwonAdapters
* Replace linkify with newInstance for BetterLinkMovementMethod
Because varargs weren't used, the two methods are identical
Diffstat (limited to 'app/src/main/res/values-vi/strings.xml')
0 files changed, 0 insertions, 0 deletions