mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Implement new API endpoints for Usernames.
This commit is contained in:
committed by
Greyson Parrelli
parent
ca0e52e141
commit
9b9453734c
@@ -9,7 +9,10 @@ sealed class Result<out S, out F> {
|
||||
data class Success<out S>(val success: S) : Result<S, Nothing>()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
fun <S> success(value: S) = Success(value)
|
||||
|
||||
@JvmStatic
|
||||
fun <F> failure(value: F) = Failure(value)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user