Updated on 2026-08-14

This commit is contained in:
Tangem 2023-12-11 18:04:14 +04:00
parent 96076bfa26
commit a7a72506ee
2 changed files with 2 additions and 2 deletions

View file

@ -449,7 +449,7 @@ class MainActivity : AppCompatActivity(), SnackbarHandler, ActivityResultCallbac
private fun checkForNotificationPermission() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU &&
BuildConfig.DEBUG &&
BuildConfig.LOG_ENABLED &&
ContextCompat.checkSelfPermission(this, Manifest.permission.POST_NOTIFICATIONS) !=
PackageManager.PERMISSION_GRANTED
) {

View file

@ -158,7 +158,7 @@ internal class TapApplication : Application(), ImageLoaderFactory {
store = createReduxStore()
if (BuildConfig.DEBUG) {
if (BuildConfig.LOG_ENABLED) {
Logger.addLogAdapter(AndroidLogAdapter(TimberFormatStrategy()))
Timber.plant(
object : Timber.DebugTree() {