UA-17470720-3

Jump to content


Issue Information

  • #000114

  • Issue

Issue Confirmations

  • Yes (0)No (0)
Photo

Section action detailModelConfigured gets called twice

Posted by Gerald K. on 14 January 2016 - 03:43 AM

Dropped in STV version 5.2.1 instead of 5.1.3, now all my custom cells added within
self.tableViewModel.sectionActions.detailModelConfigured = ^(SCTableViewSection *section, SCTableViewModel *detailModel, NSIndexPath *indexPath) {
  //(...)
  SCDoubleButtonCell *contactsButton = [SCDoubleButtonCell cellWithText:@"" boundObject:nil objectBindings:nil nibName:@"DoubleButtonCell"];
  [buttonSection addCell:contactsButton];
  [detailModel insertSection:buttonSection atIndex:0];
  //(...)
};

get added twice. Debugged it and found that the detailModelConfigured section action is called twice for only one call to
[blockSelf.accountsModel dispatchEventSelectRowAtIndexPath:indexPath];

Thanks Gerald. This has been fixed and will get rolled out in our next release.





0 user(s) are reading this issue

0 members, 0 guests, 0 anonymous users