chinwag-android/app
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
..
schemas/com.keylesspalace.tusky.db.AppDatabase Status: Display indicators of edited posts (#2935) 2022-12-03 12:15:54 +01:00
src Remove rxjava from API calls used by AccountViewModel::changeRelationship() (#3008) 2022-12-28 19:06:31 +01:00
.gitignore Adds a forgotten keystore. 2017-06-02 04:47:22 -04:00
build.gradle replace Manifest package with Gradle namespace (#3007) 2022-12-06 20:32:26 +01:00
proguard-rules.pro add shrinker rules to keep bouncycastle EC classes (#2542) 2022-05-19 07:19:16 +02:00