[ios] Fixed @deathbaba comments. (TTS)

This commit is contained in:
v.mikhaylenko 2015-11-13 17:57:37 +03:00
parent 1516affa16
commit 9ab3a30dd9
3 changed files with 1 additions and 3 deletions

View file

@ -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])

View file

@ -83,7 +83,6 @@ using namespace std;
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
return 1;
// return 2;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section

View file

@ -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>