commit 20dc9192a3ff924efe6245ca81d69691f1259a43
parent 170227102196f4a0daa65e1bf12d3486d3ad65fa
Author: Kyle Milz <kyle@Kyles-MacBook-Pro.local>
Date: Sun, 20 Sep 2015 02:25:01 -0600
ios: reload main table view when address book available
Diffstat:
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/ios-ng/shlist/AddressBook.m b/ios-ng/shlist/AddressBook.m
@@ -77,6 +77,7 @@
// atomically set the ready flag; this completion handler
// can be run on an arbitrary thread
OSAtomicIncrement32((volatile int32_t *)&ready);
+ [_main_tvc.tableView reloadData];
} else {
// however, if they didn't give you permission, handle it gracefully, for example...
diff --git a/ios-ng/shlist/MainTableViewController.m b/ios-ng/shlist/MainTableViewController.m
@@ -51,7 +51,6 @@
// get instance and wait for privacy window to clear
_address_book = [AddressBook shared_address_book];
_address_book.main_tvc = self;
- // [_address_book wait_for_ready];
}
- (void) update_address_book