summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-05-20 16:05:14 -0400
committerJoel Fischer <joeljfischer@gmail.com>2020-05-20 16:05:14 -0400
commit5bcffaaec203b53f1e455e235c52502ec874e3a6 (patch)
tree4f90768a528a88437af4c37a257893bd0db0ec1f
parent41c455ded59fff0b3a5feaee2bdedfa6ab31d66f (diff)
downloadsdl_ios-5bcffaaec203b53f1e455e235c52502ec874e3a6.tar.gz
Fix text and graphic lines available
To align with other changes in this PR
-rw-r--r--SmartDeviceLink/SDLTextAndGraphicManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLTextAndGraphicManager.m b/SmartDeviceLink/SDLTextAndGraphicManager.m
index d043d214b..6324e13e3 100644
--- a/SmartDeviceLink/SDLTextAndGraphicManager.m
+++ b/SmartDeviceLink/SDLTextAndGraphicManager.m
@@ -312,7 +312,7 @@ NS_ASSUME_NONNULL_BEGIN
NSArray *nonNilFields = [self sdl_findNonNilTextFields];
if (nonNilFields.count == 0) { return show; }
- NSUInteger numberOfLines = (self.windowCapability.textFields != nil) ? self.windowCapability.maxNumberOfMainFieldLines : 4;
+ NSUInteger numberOfLines = self.windowCapability.maxNumberOfMainFieldLines;
if (numberOfLines == 1) {
show = [self sdl_assembleOneLineShowText:show withShowFields:nonNilFields];
} else if (numberOfLines == 2) {