Browse Source

Remove unnecessary `var`

Peter Cai 1 year ago
parent
commit
7b605fd44a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app-common/src/main/java/im/angry/openeuicc/ui/MainActivity.kt

+ 1 - 1
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)