moshidon/README.md

43 lines
3.0 KiB
Markdown
Raw Normal View History

2022-05-31 17:04:58 +02:00
![Pink version of the Mastodon for Android launcher icon](mastodon/src/main/res/mipmap-xhdpi/ic_launcher_round.png)
2022-05-31 16:51:05 +02:00
# Mastodon for Android Fork
2022-05-02 21:35:42 +02:00
## Changes
* [Enable "Unlisted" as a visibility option](https://github.com/sk22/mastodon-android-fork/tree/feature/enable-unlisted)
([Pull request](https://github.com/mastodon/mastodon-android/pull/103)) and
[set as default](https://github.com/sk22/mastodon-android-fork/tree/feature/enable-unlisted-as-default)
2022-05-21 18:59:13 +02:00
* [Add "Federation" tab and change Discover tab order](https://github.com/sk22/mastodon-android-fork/tree/feature/add-federated-timeline) ([Fixes issue](https://github.com/mastodon/mastodon-android/issues/8))
2022-05-06 00:34:08 +02:00
* [Add image description button and viewer](https://github.com/sk22/mastodon-android-fork/tree/feature/display-alt-text) ([Pull request](https://github.com/mastodon/mastodon-android/pull/129))
2022-05-06 19:28:43 +02:00
* [Implement pinning posts and displaying pinned posts](https://github.com/sk22/mastodon-android-fork/tree/feature/pin-posts) ([Pull request](https://github.com/mastodon/mastodon-android/pull/140))
2022-05-21 18:59:13 +02:00
* [Display full image when adding image description](https://github.com/sk22/mastodon-android-fork/tree/feature/compose-image-description-full-image) ([Pull request](https://github.com/mastodon/mastodon-android/pull/182))
* [Always preserve content warnings when replying](https://github.com/sk22/mastodon-android-fork/tree/feature/always-preserve-cw) ([Fixes issue](https://github.com/mastodon/mastodon-android/issues/113))
2022-05-21 23:38:56 +02:00
* [Make back button return to the home tab before exiting the app](https://github.com/sk22/mastodon-android-fork/tree/feature/back-returns-home) ([Fixes issue](https://github.com/mastodon/mastodon-android/issues/118))
2022-05-22 02:07:07 +02:00
* [Implement a bookmark button and list](https://github.com/sk22/mastodon-android-fork/tree/feature/bookmarks) ([Fixes issue](https://github.com/mastodon/mastodon-android/issues/22))
2022-05-26 19:35:36 +02:00
* [Implement deleting and re-drafting](https://github.com/sk22/mastodon-android-fork/tree/feature/delete-redraft) ([Fixes issue](https://github.com/mastodon/mastodon-android/issues/21))
2022-05-02 21:35:42 +02:00
2022-05-31 16:51:05 +02:00
## Fork-specific changes
* Custom app name
2022-07-22 11:50:04 +02:00
* Custom icon: Modulate upstream icon using ImageMagick
2022-05-31 16:51:05 +02:00
```bash
2022-07-22 11:50:04 +02:00
mogrify -modulate 90,100,140 mastodon/src/main/res/mipmap-*/ic_launcher*.png
2022-05-31 16:51:05 +02:00
```
2022-07-22 11:50:04 +02:00
* Custom primary color: Hue of all `primary` colors in `colors.xml` is rotated, on basis of upstream Mastodon's [old branding](https://github.com/mastodon/mastodon-android/commit/74f03026cfcfcfd23237c38ff47d2b2a98a6f92a#diff-59134ec2a1cf3761f80b0ecccbbf8b9e433d9780d2f5c5d6ac3ac8cc254e808f)
2022-05-31 16:51:05 +02:00
by `109.8°` (equivalent of `161%`, done by hand using
[PineTools](https://pinetools.com/shift-hue-color))
## Building
2022-04-18 11:54:05 +02:00
As this app is using Java 17 features, you need JDK 17 or newer to build it. Other than that, everything is pretty standard. You can either import the project into Android Studio and build it from there, or run the following command in the project directory:
```
./gradlew assembleRelease
```
## License
2022-05-06 19:28:43 +02:00
This project is released under the [GPL-3 License](./LICENSE).