diff LazyBear/Views/Company/Helpers/NewsRow.swift @ 448:f71761f166f2

Handle when data is empty
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Wed, 23 Jun 2021 11:47:14 +0200
parents 8621ba6fd457
children
line wrap: on
line diff
--- a/LazyBear/Views/Company/Helpers/NewsRow.swift	Wed Jun 23 10:54:47 2021 +0200
+++ b/LazyBear/Views/Company/Helpers/NewsRow.swift	Wed Jun 23 11:47:14 2021 +0200
@@ -22,7 +22,7 @@
                     .font(.headline)
                     .fontWeight(.semibold)
                     .fixedSize(horizontal: false, vertical: true)  /// I need to add this to make lineLimit works correctly
-                    .lineLimit(3)
+                    .lineLimit(2)
             }
             
             Spacer()