Minor dev fix

This commit is contained in:
Kelvin 2024-09-26 19:17:51 +02:00
parent 0a0c16524a
commit 3d06e62cd4
3 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@ class JSHttpClient : ManagedHttpClient {
constructor(jsClient: JSClient?, auth: SourceAuth? = null, captcha: SourceCaptchaData? = null, config: SourcePluginConfig? = null) : super(
//Temporary ugly solution for DevPortal proxy support
(if(jsClient?.config?.id == StateDeveloper.DEV_ID && StateDeveloper.instance.devProxy != null)
(if((jsClient?.config?.id == StateDeveloper.DEV_ID || jsClient == null) && StateDeveloper.instance.devProxy != null)
OkHttpClient.Builder().proxy(Proxy(Proxy.Type.HTTP,
InetSocketAddress(StateDeveloper.instance.devProxy!!.url, StateDeveloper.instance.devProxy!!.port)
))

View file

@ -2688,7 +2688,7 @@ class VideoDetailView : ConstraintLayout {
}
if(!didLogin)
UIDialogs.showDialogOk(context, R.drawable.ic_error_pred, "Failed to login");
}));
}, UIDialogs.ActionStyle.PRIMARY));
}
.exception<ContentNotAvailableYetException> {
Logger.w(TAG, "exception<ContentNotAvailableYetException>", it)

@ -1 +1 @@
Subproject commit 35b56d380a9ae6ef85ba8ec16cecb0a86d4efa1d
Subproject commit dda3c6c71948be5e40b1704895eacf796753e953