Fix compilation issue

This commit is contained in:
Benoit Marty 2022-06-17 17:22:31 +02:00
parent a3774c1161
commit ba0898831b

View file

@ -46,7 +46,7 @@ class TestPlayServices @Inject constructor(
if (apiAvailability.isUserResolvableError(resultCode)) {
quickFix = object : TroubleshootQuickFix(R.string.settings_troubleshoot_test_play_services_quickfix) {
override fun doFix() {
apiAvailability.getErrorDialog(context, resultCode, 9000 /*hey does the magic number*/).show()
apiAvailability.getErrorDialog(context, resultCode, 9000 /*hey does the magic number*/)?.show()
}
}
Timber.e("Play Services apk error $resultCode -> ${apiAvailability.getErrorString(resultCode)}.")