Refactor to Compose based UI
This commit is contained in:
@@ -4,18 +4,25 @@ import android.app.Activity
|
||||
import androidx.camera.core.ImageAnalysis
|
||||
|
||||
object Vendor : VendorInterface {
|
||||
|
||||
override fun checkUpdateAvailable(): Boolean {
|
||||
return false
|
||||
}
|
||||
|
||||
override fun checkUpdate(activity: Activity, byUser: Boolean) {
|
||||
override fun checkUpdate(
|
||||
activity: Activity,
|
||||
byUser: Boolean,
|
||||
) {
|
||||
}
|
||||
|
||||
override fun createQRCodeAnalyzer(
|
||||
onSuccess: (String) -> Unit,
|
||||
onFailure: (Exception) -> Unit
|
||||
onFailure: (Exception) -> Unit,
|
||||
): ImageAnalysis.Analyzer? {
|
||||
return null
|
||||
}
|
||||
}
|
||||
|
||||
override fun isPerAppProxyAvailable(): Boolean {
|
||||
// Per-app Proxy is available for non-Play Store builds
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user