Flush logs before submitting logs.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent dfcfbe7022
commit dde8132f0e

@ -184,6 +184,7 @@ typedef NS_ENUM(NSInteger, AdvancedSettingsTableViewControllerSection) {
[tableView deselectRowAtIndexPath:indexPath animated:YES];
if ([tableView cellForRowAtIndexPath:indexPath] == self.submitLogCell) {
[DDLog flushLog];
[Pastelog submitLogs];
} else if ([tableView cellForRowAtIndexPath:indexPath] == self.registerPushCell) {
OWSSyncPushTokensJob *syncJob =

Loading…
Cancel
Save