summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
Diffstat (limited to 'android')
-rw-r--r--android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/connectioninfo/FeatureIndicatorsPanel.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/connectioninfo/FeatureIndicatorsPanel.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/connectioninfo/FeatureIndicatorsPanel.kt
index 8815149f27..8b04017f0a 100644
--- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/connectioninfo/FeatureIndicatorsPanel.kt
+++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/connectioninfo/FeatureIndicatorsPanel.kt
@@ -70,7 +70,9 @@ fun FeatureIndicators(
MullvadFeatureChip(text = features[index].text())
}
- // Spacing are added to compensate for when the
+ // Spacing are added to compensate for when there are no feature indicators, since each feature
+ // indicator has built-in padding. Padding looks the same towards Switch Location button with or
+ // without feature indicators.
if (features.isEmpty() && !expanded) {
Spacer(Modifier.height(Dimens.smallSpacer))
}