Skip to content

Commit 013585d

Browse files
committed
Update logging tags
1 parent d1bbedb commit 013585d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

android/src/main/java/com/swmansion/rnscreens/ScreenContainer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ open class ScreenContainer(
204204
}
205205

206206
protected fun createTransaction(): FragmentTransaction {
207-
Log.w("${TAG} [${id}]", "Create transaction")
207+
Log.w(TAG, "$id Create transaction")
208208
return requireNotNull(fragmentManager) { "fragment manager is null when creating transaction" }
209209
.beginTransaction()
210210
.setReorderingAllowed(true)

android/src/main/java/com/swmansion/rnscreens/ScreenStack.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ class ScreenStack(
314314
}
315315
} else if (newTop != null && !newTop.fragment.isAdded) {
316316
if (!BuildConfig.IS_NEW_ARCHITECTURE_ENABLED && newTop.screen.usesFormSheetPresentation() && newTop.screen.isSheetFitToContents()) {
317-
Log.w("${TAG} [${id}]", "Request postpone transaction")
317+
Log.w(TAG, "$id Request postpone transaction")
318318
newTop.fragment.postponeEnterTransition()
319319
}
320320
it.add(id, newTop.fragment)
@@ -325,7 +325,7 @@ class ScreenStack(
325325

326326
turnOffA11yUnderTransparentScreen(visibleBottom)
327327

328-
Log.w("${TAG} [${id}]", "Commit transaction")
328+
Log.w(TAG, "$id Commit transaction")
329329
it.commitNowAllowingStateLoss()
330330
}
331331
}

0 commit comments

Comments
 (0)