chore: remove olm version in settings screen after foss merge (MESSENGER-6656)

This commit is contained in:
JanNiklas Grabowski
2024-10-21 13:43:20 +02:00
parent 9f3d77e9f1
commit 5d0ab27a9e

View File

@@ -195,7 +195,6 @@ typedef NS_ENUM(NSUInteger, ADVANCED)
typedef NS_ENUM(NSUInteger, ABOUT)
{
ABOUT_VERSION_INDEX = 0,
ABOUT_OLM_VERSION_INDEX,
ABOUT_ELEMENT_VERSION_INDEX,
ABOUT_COPYRIGHT_INDEX,
ABOUT_TERM_CONDITIONS_INDEX,
@@ -738,7 +737,6 @@ SSOAuthenticationPresenterDelegate>
[sectionAbout addRowWithTag:ABOUT_NETIQUETTE_INDEX];
}
[sectionAbout addRowWithTag:ABOUT_VERSION_INDEX];
[sectionAbout addRowWithTag:ABOUT_OLM_VERSION_INDEX];
// bwi 2098 - show element base version
if ([BWIBuildSettings.shared showElementBaseVersion])
@@ -2720,16 +2718,6 @@ SSOAuthenticationPresenterDelegate>
cell = versionCell;
}
else if (row == ABOUT_OLM_VERSION_INDEX)
{
MXKTableViewCell *versionCell = [self getDefaultTableViewCell:tableView];
versionCell.textLabel.text = [VectorL10n settingsOlmVersion:[OLMKit versionString]];
versionCell.selectionStyle = UITableViewCellSelectionStyleNone;
cell = versionCell;
}
else if (row == ABOUT_ELEMENT_VERSION_INDEX)
{
MXKTableViewCell *versionCell = [self getDefaultTableViewCell:tableView];