From d1cee5cb0b79305dcc15ca11d5d9656ff1aed813 Mon Sep 17 00:00:00 2001 From: Mygod Date: Thu, 9 Mar 2023 18:31:36 -0500 Subject: [PATCH] Refine feature listing --- .../src/main/java/be/mygod/vpnhotspot/manage/TetherManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/manage/TetherManager.kt b/mobile/src/main/java/be/mygod/vpnhotspot/manage/TetherManager.kt index fb7fd8ae..10308788 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/manage/TetherManager.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/manage/TetherManager.kt @@ -209,7 +209,7 @@ sealed class TetherManager(protected val parent: TetheringFragment) : Manager(), } if (features != 0L) while (features != 0L) { val bit = features.takeLowestOneBit() - yield(SoftApCapability.featureLookup(bit, true)) + yield(SoftApCapability.featureLookup(bit, true).replace('_', ' ')) features = features and bit.inv() } }.joinToSpanned().ifEmpty { parent.getText(R.string.tethering_manage_wifi_no_features) })