mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +00:00
Minor dev fix
This commit is contained in:
parent
0a0c16524a
commit
3d06e62cd4
3 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
))
|
||||
|
|
|
@ -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
|
Loading…
Add table
Reference in a new issue