forked from organicmaps/organicmaps
[ios] Fixed @deathbaba comments. (TTS)
This commit is contained in:
parent
1516affa16
commit
9ab3a30dd9
3 changed files with 1 additions and 3 deletions
|
@ -60,7 +60,6 @@ extern NSString * const kUserDafaultsNeedToEnableTTS = @"UserDefaultsNeedToEnabl
|
|||
|
||||
+ (void)activateAudioSession
|
||||
{
|
||||
// Activating audio session.
|
||||
NSError * err = nil;
|
||||
AVAudioSession * audioSession = [AVAudioSession sharedInstance];
|
||||
if (![audioSession setCategory:AVAudioSessionCategoryPlayback withOptions:AVAudioSessionCategoryOptionMixWithOthers error:&err])
|
||||
|
|
|
@ -83,7 +83,6 @@ using namespace std;
|
|||
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
|
||||
{
|
||||
return 1;
|
||||
// return 2;
|
||||
}
|
||||
|
||||
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
|
||||
|
|
|
@ -25,7 +25,7 @@ typedef NS_ENUM(NSUInteger, Section)
|
|||
SectionRouting,
|
||||
SectionCalibration,
|
||||
SectionStatistics,
|
||||
SectionCount // Must be latest value!
|
||||
SectionCount // Must be the latest value!
|
||||
};
|
||||
|
||||
@interface SettingsViewController () <SwitchCellDelegate>
|
||||
|
|
Loading…
Add table
Reference in a new issue