Yuito-app-android/app/src/main/java/com/keylesspalace/tusky/components
Nik Clayton a21f2fadf9
Remove rxjava from API calls used by AccountViewModel::changeRelationship() (#3008)
* Remove rxjava from API calls used by AccountListFragment

* Remove rxjava from API calls used by AccountViewModel::changeRelationship()

The affected API functions are also called from

- ReportViewModel.kt
- SearchViewModel.kt
- AccountListFragment.kt
- SFragment.java
- TimelineCases.kt

so they have also been updated.

This change requires bridging from Java code to Kotlin `suspend` functions,
by creating wrappers for the `mute` and `block` functions that can be
called from Java and create a coroutine scope.

I've deliberately made this fairly ugly so that it sticks out and can be
removed later.

* Use "Throwable" type and name

* Delete 46.json

Not sure where this came from.

* Emit log messages with the correct tag

* Add another log tag, and lint

* Move viewModelScope.launch in to changeRelationshop()
2022-12-28 19:06:31 +01:00
..
account Remove rxjava from API calls used by AccountViewModel::changeRelationship() (#3008) 2022-12-28 19:06:31 +01:00
announcements respect "animate emojis" setting in emoji picker (#2996) 2022-12-05 19:15:28 +01:00
compose Add post editing capability (#2828) 2022-12-08 10:18:12 +01:00
conversation Status: Display indicators of edited posts (#2935) 2022-12-03 12:15:54 +01:00
drafts Add post editing capability (#2828) 2022-12-08 10:18:12 +01:00
followedtags Add view for browsing and unfollowing followed hashtags (#2794) 2022-12-01 19:24:27 +01:00
instanceinfo fix caching of instance defaults and emojis (#2643) 2022-08-07 22:18:53 +02:00
instancemute Fix toolbar for instance list activity. (#2248) 2021-09-28 19:55:30 +02:00
login revert CompatExtensions (#2773) 2022-11-09 19:32:54 +01:00
notifications Nullcheck channels when reading importance. (#2971) 2022-12-02 19:46:02 +01:00
preference 2952/proxy (#2961) 2022-12-07 19:29:18 +01:00
report Remove rxjava from API calls used by AccountViewModel::changeRelationship() (#3008) 2022-12-28 19:06:31 +01:00
scheduled warn before deleting a scheduled post (#2721) 2022-10-28 16:46:38 +02:00
search Remove rxjava from API calls used by AccountViewModel::changeRelationship() (#3008) 2022-12-28 19:06:31 +01:00
timeline Add post editing capability (#2828) 2022-12-08 10:18:12 +01:00
viewthread Implement getFilters() without rxjava (#2990) 2022-12-07 19:30:53 +01:00