From 05016600e30c3e592a26ead7c8b36157b16206fb Mon Sep 17 00:00:00 2001
From: Andy Woerner <awoerner@gmx.net>
Date: Mon, 14 Oct 2019 23:13:28 +0200
Subject: [PATCH] VLCSettingsController: Set cell height to
 UITableViewAutomaticDimension

This will allow dynamic cell resizing height for verbose languages like german

Closes #672
---
 Sources/VLCSettingsController.m | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Sources/VLCSettingsController.m b/Sources/VLCSettingsController.m
index 006e53e88..829f9fdcf 100644
--- a/Sources/VLCSettingsController.m
+++ b/Sources/VLCSettingsController.m
@@ -223,6 +223,11 @@ NSString * const kVLCSectionTableHeaderViewIdentifier = @"VLCSectionTableHeaderV
     }
 }
 
+- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
+{
+    return UITableViewAutomaticDimension;
+}
+
 - (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section
 {
     return nil;
-- 
GitLab