From 7b605fd44a570fa3503fe942f09ff9c5241877cc Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Sun, 14 Jul 2024 21:20:11 -0400 Subject: [PATCH] Remove unnecessary `var` --- app-common/src/main/java/im/angry/openeuicc/ui/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-common/src/main/java/im/angry/openeuicc/ui/MainActivity.kt b/app-common/src/main/java/im/angry/openeuicc/ui/MainActivity.kt index fd2d51c..74fe385 100644 --- a/app-common/src/main/java/im/angry/openeuicc/ui/MainActivity.kt +++ b/app-common/src/main/java/im/angry/openeuicc/ui/MainActivity.kt @@ -119,7 +119,7 @@ open class MainActivity : BaseEuiccAccessActivity(), OpenEuiccContextMarker { viewPager.visibility = View.GONE tabs.visibility = View.GONE - var knownChannels = withContext(Dispatchers.IO) { + val knownChannels = withContext(Dispatchers.IO) { euiccChannelManager.enumerateEuiccChannels().onEach { Log.d(TAG, "slot ${it.slotId} port ${it.portId}") Log.d(TAG, it.lpa.eID)