From b701a23cefb5bda59c349e26dd6b3079d99d9e68 Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 3 Sep 2020 13:22:28 +0200 Subject: [PATCH] Ensuring that city takes exactly one line --- ui/BankingiOSApp/BankingiOSApp/ui/views/BankInfoListItem.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/BankInfoListItem.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/BankInfoListItem.swift index 48bbc59a..cc520adb 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/BankInfoListItem.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/BankInfoListItem.swift @@ -39,6 +39,7 @@ struct BankInfoListItem: View { .padding(.leading, 4) Text(bank.city) + .lineLimit(1) Spacer() }