mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
2.0 KiB
Objective-C
49 lines
2.0 KiB
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
#import "FutureSource.h"
|
|
#import "LocalizableCustomFontLabel.h"
|
|
#import "SettingsTableHeaderView.h"
|
|
|
|
/**
|
|
*
|
|
* SettingsViewController displays a list of settings in sections which can animate between being expanded or collapsed.
|
|
* The expanded/collapsed preference of the sections is remembered by the preference util.
|
|
* Table cell text labels are localized by setting them to a custom label class that has a localization key which are both set in the xib -
|
|
* and localized when the cell appears.
|
|
* Preferences are saved to preference util when tapped.
|
|
*
|
|
*/
|
|
|
|
@interface SettingsViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, UIAlertViewDelegate>
|
|
|
|
@property (nonatomic, strong) IBOutlet UITableView *settingsTableView;
|
|
@property (nonatomic, strong) IBOutlet UILabel *phoneNumberLabel;
|
|
@property (nonatomic, strong) IBOutlet UILabel *titleLabel;
|
|
|
|
@property (nonatomic, strong) IBOutlet SettingsTableHeaderView *privacyAndSecurityHeaderView;
|
|
@property (nonatomic, strong) IBOutlet UITableViewCell *hideContactImagesCell;
|
|
@property (nonatomic, strong) IBOutlet UITableViewCell *disableAutocorrectCell;
|
|
@property (nonatomic, strong) IBOutlet UITableViewCell *disableHistoryCell;
|
|
@property (nonatomic, strong) IBOutlet UITableViewCell *clearHistoryLogCell;
|
|
|
|
@property (nonatomic, strong) IBOutlet UIButton *hideContactImagesButton;
|
|
@property (nonatomic, strong) IBOutlet UIButton *disableAutocorrectButton;
|
|
@property (nonatomic, strong) IBOutlet UIButton *disableHistoryButton;
|
|
|
|
@property (nonatomic, strong) IBOutlet SettingsTableHeaderView *callQualityHeaderView;
|
|
@property (nonatomic, strong) IBOutlet UITableViewCell *directoryUpdateCell;
|
|
|
|
@property (nonatomic, strong) IBOutlet UITableViewCell *sendDebugLog;
|
|
|
|
- (IBAction)registerTapped;
|
|
|
|
- (IBAction)privacyAndSecurityTapped;
|
|
|
|
- (IBAction)hideContactImagesButtonTapped;
|
|
- (IBAction)disableAutocorrectButtonTapped;
|
|
- (IBAction)disableHistoryButtonTapped;
|
|
|
|
- (IBAction)menuButtonTapped;
|
|
|
|
@end
|