mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Update media settings strings. Update share extension image size prompt.
This commit is contained in:
@@ -51,7 +51,7 @@ enum
|
||||
{
|
||||
SECTION_TAG_SIGN_OUT = 0,
|
||||
SECTION_TAG_USER_SETTINGS,
|
||||
SECTION_TAG_MEDIA,
|
||||
SECTION_TAG_SENDING_MEDIA,
|
||||
SECTION_TAG_SECURITY,
|
||||
SECTION_TAG_NOTIFICATIONS,
|
||||
SECTION_TAG_CALLS,
|
||||
@@ -89,7 +89,8 @@ enum
|
||||
|
||||
enum
|
||||
{
|
||||
MEDIA_SETTINGS_CONFIRM_MEDIA_SIZE = 0
|
||||
SENDING_MEDIA_CONFIRM_SIZE = 0,
|
||||
SENDING_MEDIA_CONFIRM_SIZE_DESCRIPTION,
|
||||
};
|
||||
|
||||
enum
|
||||
@@ -357,9 +358,10 @@ TableViewSectionsDelegate>
|
||||
|
||||
if (BuildSettings.settingsScreenShowConfirmMediaSize)
|
||||
{
|
||||
Section *sectionMedia = [Section sectionWithTag:SECTION_TAG_MEDIA];
|
||||
[sectionMedia addRowWithTag:MEDIA_SETTINGS_CONFIRM_MEDIA_SIZE];
|
||||
sectionMedia.headerTitle = NSLocalizedStringFromTable(@"settings_media", @"Vector", nil);
|
||||
Section *sectionMedia = [Section sectionWithTag:SECTION_TAG_SENDING_MEDIA];
|
||||
[sectionMedia addRowWithTag:SENDING_MEDIA_CONFIRM_SIZE];
|
||||
[sectionMedia addRowWithTag:SENDING_MEDIA_CONFIRM_SIZE_DESCRIPTION];
|
||||
sectionMedia.headerTitle = NSLocalizedStringFromTable(@"settings_sending_media", @"Vector", nil);
|
||||
[tmpSections addObject:sectionMedia];
|
||||
}
|
||||
|
||||
@@ -1821,9 +1823,9 @@ TableViewSectionsDelegate>
|
||||
cell = passwordCell;
|
||||
}
|
||||
}
|
||||
else if (section == SECTION_TAG_MEDIA)
|
||||
else if (section == SECTION_TAG_SENDING_MEDIA)
|
||||
{
|
||||
if (row == MEDIA_SETTINGS_CONFIRM_MEDIA_SIZE)
|
||||
if (row == SENDING_MEDIA_CONFIRM_SIZE)
|
||||
{
|
||||
MXKTableViewCellWithLabelAndSwitch* labelAndSwitchCell = [self getLabelAndSwitchCell:tableView forIndexPath:indexPath];
|
||||
|
||||
@@ -1835,6 +1837,15 @@ TableViewSectionsDelegate>
|
||||
|
||||
cell = labelAndSwitchCell;
|
||||
}
|
||||
else if (row == SENDING_MEDIA_CONFIRM_SIZE_DESCRIPTION)
|
||||
{
|
||||
MXKTableViewCell *infoCell = [self getDefaultTableViewCell:tableView];
|
||||
infoCell.textLabel.text = NSLocalizedStringFromTable(@"settings_confirm_media_size_description", @"Vector", nil);
|
||||
infoCell.textLabel.numberOfLines = 0;
|
||||
infoCell.selectionStyle = UITableViewCellSelectionStyleNone;
|
||||
|
||||
cell = infoCell;
|
||||
}
|
||||
}
|
||||
else if (section == SECTION_TAG_NOTIFICATIONS)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user