Refactor to Compose based UI

This commit is contained in:
世界
2025-09-24 14:50:50 +08:00
parent f3763ba71d
commit 19da240d5b
164 changed files with 22460 additions and 1352 deletions

View File

@@ -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
}
}