Refactor and cleanup (#850)

* Move google play check to extension

* Extract launching bug report dialog

* Add missing extension for fdroid flavor
This commit is contained in:
Davis 2024-02-13 14:41:40 -07:00 committed by GitHub
parent 2bfda9784f
commit 11e31675ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 29 additions and 24 deletions

View file

@ -8,9 +8,6 @@ import androidx.appcompat.app.AppCompatActivity
import androidx.core.content.edit
import com.geeksville.mesh.analytics.AnalyticsProvider
@Suppress("UNUSED_PARAMETER")
fun isGooglePlayAvailable(context: Context): Boolean = false
open class GeeksvilleApplication : Application(), Logging {
companion object {
@ -55,3 +52,5 @@ open class GeeksvilleApplication : Application(), Logging {
isAnalyticsAllowed = false
}
}
fun Context.isGooglePlayAvailable(): Boolean = false