mirror of
https://github.com/pachli/pachli-android.git
synced 2025-01-18 19:31:12 +01:00
make WebView debuggable in debug builds (#2548)
This commit is contained in:
parent
a60d33a64b
commit
becb677176
@ -83,6 +83,10 @@ class LoginWebViewActivity : BaseActivity(), Injectable {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
|
||||
if (BuildConfig.DEBUG) {
|
||||
WebView.setWebContentsDebuggingEnabled(true)
|
||||
}
|
||||
|
||||
val data = OauthLogin.parseData(intent)
|
||||
|
||||
setContentView(binding.root)
|
||||
|
Loading…
Reference in New Issue
Block a user