feat(ui/jvm): add proper captcha stub
This commit is contained in:
parent
3efcc3ce4d
commit
33ed389f0f
1 changed files with 6 additions and 1 deletions
|
|
@ -2,7 +2,12 @@ package moe.lava.neon.ui
|
||||||
|
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import moe.lava.neon.core.api.ApiClient
|
import moe.lava.neon.core.api.ApiClient
|
||||||
|
import moe.lava.neon.core.api.captcha.CaptchaResponse
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
// TODO
|
// TODO
|
||||||
actual fun CaptchaBinder(api: ApiClient) { }
|
actual fun CaptchaBinder(api: ApiClient) {
|
||||||
|
api.setCaptchaHandler {
|
||||||
|
CaptchaResponse.Failed(NotImplementedError())
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue