Skip to content

Commit fb8105f

Browse files
committed
Cleaned up code
1 parent a655760 commit fb8105f

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

BitStore/Controller/Account/AccountViewController.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,19 +265,21 @@ - (void)refreshTable {
265265
[_address refresh];
266266
}
267267

268-
#pragma mark - Listeners
268+
#pragma mark - AddressListener
269269
- (void)addressChanged:(Address *)address {
270270
_address = address;
271271
[_refreshControl endRefreshing];
272272
[self updateValues];
273273
}
274274

275+
#pragma mark - AddressHelperListener
275276
- (void)defaultAddressChanged:(Address *)address {
276277
_address = address;
277278
[_address addAddressListener:self];
278279
[self updateValues];
279280
}
280281

282+
#pragma mark - ExchangeListener
281283
- (void)exchangeChanged:(Exchange *)exchange {
282284
_exchange = exchange;
283285
[self updateValues];

BitStore/Controller/Account/TransactionDetailViewController.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,13 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
170170
}
171171
}
172172

173+
#pragma mark - ContactListListener
173174
- (void)contactListChanged:(ContactList *)contactList {
174175
_contactList = contactList;
175176
[self.tableView reloadData];
176177
}
177178

179+
#pragma mark - ExchangeListener
178180
- (void)exchangeChanged:(Exchange *)exchange {
179181
_exchange = exchange;
180182
[self.tableView reloadData];

0 commit comments

Comments
 (0)