Updated on 2026-08-14
This commit is contained in:
parent
96076bfa26
commit
a7a72506ee
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
) {
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue