Skip to content

Commit

Permalink
Read below
Browse files Browse the repository at this point in the history
- Added a npm package to proper handle the interfaces
- `https://mui.kernelsu.org` is now accessible even when remote domain is turned on
  • Loading branch information
DerGoogler committed Jan 5, 2025
1 parent fd95973 commit af5e70d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
alias(libs.plugins.protobuf)
}

val baseVersionName = "5.30.42"
val baseVersionName = "5.31.42"
val baseAppName = "MMRL"
val baseModConfName = "ModConf"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import androidx.core.net.toUri
import androidx.webkit.WebViewAssetLoader
import com.dergoogler.mmrl.R
import com.dergoogler.mmrl.datastore.UserPreferencesCompat
import com.dergoogler.mmrl.datastore.developerMode
import com.dergoogler.mmrl.viewmodel.WebUIViewModel
import dev.dergoogler.mmrl.compat.core.MMRLUriHandlerImpl

Expand Down Expand Up @@ -70,10 +69,6 @@ class MMRLWebClient(
view: WebView,
request: WebResourceRequest,
): WebResourceResponse? {
val default = webViewAssetLoader.shouldInterceptRequest(request.url)

return userPrefs.developerMode({ useWebUiDevUrl }, default) {
super.shouldInterceptRequest(view, request)
}
return webViewAssetLoader.shouldInterceptRequest(request.url)
}
}

0 comments on commit af5e70d

Please sign in to comment.