|
|
@ -66,7 +66,10 @@ int const OWSLinkedDevicesTableViewControllerSectionAddDevice = 1;
|
|
|
|
selector:@selector(yapDatabaseModified:)
|
|
|
|
selector:@selector(yapDatabaseModified:)
|
|
|
|
name:YapDatabaseModifiedNotification
|
|
|
|
name:YapDatabaseModifiedNotification
|
|
|
|
object:self.dbConnection.database];
|
|
|
|
object:self.dbConnection.database];
|
|
|
|
|
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self
|
|
|
|
|
|
|
|
selector:@selector(yapDatabaseModified:)
|
|
|
|
|
|
|
|
name:YapDatabaseModifiedExternallyNotification
|
|
|
|
|
|
|
|
object:self.dbConnection.database];
|
|
|
|
|
|
|
|
|
|
|
|
self.refreshControl = [UIRefreshControl new];
|
|
|
|
self.refreshControl = [UIRefreshControl new];
|
|
|
|
[self.refreshControl addTarget:self action:@selector(refreshDevices) forControlEvents:UIControlEventValueChanged];
|
|
|
|
[self.refreshControl addTarget:self action:@selector(refreshDevices) forControlEvents:UIControlEventValueChanged];
|
|
|
|