From 84d2beec91c26bcf142b509dda79799eac52666e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Albertos?= Date: Thu, 2 Jul 2020 14:50:26 +0200 Subject: [PATCH] Update LenientNavHostFragment.kt --- .../src/main/kotlin/bottom_nav_watson/LenientNavHostFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bottom-nav-watson/src/main/kotlin/bottom_nav_watson/LenientNavHostFragment.kt b/bottom-nav-watson/src/main/kotlin/bottom_nav_watson/LenientNavHostFragment.kt index 613ad63..2711af2 100644 --- a/bottom-nav-watson/src/main/kotlin/bottom_nav_watson/LenientNavHostFragment.kt +++ b/bottom-nav-watson/src/main/kotlin/bottom_nav_watson/LenientNavHostFragment.kt @@ -15,7 +15,7 @@ class LenientNavHostFragment : NavHostFragment() { try { super.onDestroyView() } catch (e: IllegalStateException) { - // We only sallow the exception when it contains the message related with the issue that we know. + // We only swallow the exception when it contains the message related with the issue that we know. // Otherwise we rethrow, this is brittle as it ties the implementation to a private reporting message error, // but we prefer this way to avoid hiding unrelated exceptions. if (e.message?.contains("does not have a NavController set") == false) {