Introduce allowBugReportingManually

This commit is contained in:
ismailgulek 2020-07-30 14:28:55 +03:00
parent ba0cf5bd25
commit efc7a9eef4
2 changed files with 6 additions and 5 deletions

View file

@ -65,8 +65,9 @@ final class RiotSettings: NSObject {
let allowIntegrations: Bool = true
let showAdvancedSettings: Bool = true
let showLabSettings: Bool = true
let allowChangeRageshakeSettings: Bool = true
let allowCrashUsageData: Bool = true
let allowChangingRageshakeSettings: Bool = true
let allowChangingCrashUsageDataSettings: Bool = true
let allowBugReportingManually: Bool = true
let allowDeactivatingAccount: Bool = true
let allowSendingStickers: Bool = false
let allowSearchOnOtherServersForRoomDirectory: Bool = false

View file

@ -495,17 +495,17 @@ SettingsIdentityServerCoordinatorBridgePresenterDelegate>
[sectionOther addRowWithTag:OTHER_TERM_CONDITIONS_INDEX];
[sectionOther addRowWithTag:OTHER_PRIVACY_INDEX];
[sectionOther addRowWithTag:OTHER_THIRD_PARTY_INDEX];
if (RiotSettings.shared.allowCrashUsageData)
if (RiotSettings.shared.allowChangingCrashUsageDataSettings)
{
[sectionOther addRowWithTag:OTHER_CRASH_REPORT_INDEX];
}
if (RiotSettings.shared.allowChangeRageshakeSettings)
if (RiotSettings.shared.allowChangingRageshakeSettings)
{
[sectionOther addRowWithTag:OTHER_ENABLE_RAGESHAKE_INDEX];
}
[sectionOther addRowWithTag:OTHER_MARK_ALL_AS_READ_INDEX];
[sectionOther addRowWithTag:OTHER_CLEAR_CACHE_INDEX];
if (RiotSettings.shared.enableRageShake)
if (RiotSettings.shared.allowBugReportingManually)
{
[sectionOther addRowWithTag:OTHER_REPORT_BUG_INDEX];
}