mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
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:
parent
2bfda9784f
commit
11e31675ca
3 changed files with 29 additions and 24 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue