Add F-Droid as update check sources
This commit is contained in:
@@ -93,7 +93,7 @@ object Vendor : VendorInterface {
|
||||
onCropArea: ((QRCodeCropArea?) -> Unit)?,
|
||||
): ImageAnalysis.Analyzer? = null
|
||||
|
||||
override fun supportsTrackSelection(): Boolean = true
|
||||
override val hasCustomUpdate = true
|
||||
|
||||
override fun checkUpdateAsync(): UpdateInfo? {
|
||||
val track = UpdateTrack.fromString(Settings.updateTrack)
|
||||
@@ -102,10 +102,6 @@ object Vendor : VendorInterface {
|
||||
}
|
||||
}
|
||||
|
||||
override fun supportsSilentInstall(): Boolean = true
|
||||
|
||||
override fun supportsAutoUpdate(): Boolean = true
|
||||
|
||||
override fun scheduleAutoUpdate() {
|
||||
UpdateWorker.schedule(io.nekohasekai.sfa.Application.application)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user