Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
|
|
@ -0,0 +1,30 @@
|
|||
#import "MWMOpeningHoursAddClosedTableViewCell.h"
|
||||
|
||||
@interface MWMOpeningHoursAddClosedTableViewCell ()
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UIButton * addClosedButton;
|
||||
|
||||
@end
|
||||
|
||||
@implementation MWMOpeningHoursAddClosedTableViewCell
|
||||
|
||||
+ (CGFloat)heightForWidth:(CGFloat)width
|
||||
{
|
||||
return 44.0;
|
||||
}
|
||||
|
||||
- (void)refresh
|
||||
{
|
||||
[super refresh];
|
||||
self.addClosedButton.enabled = self.section.canAddClosedTime;
|
||||
}
|
||||
|
||||
#pragma mark - Actions
|
||||
|
||||
- (IBAction)addClosedTap
|
||||
{
|
||||
if (self.isVisible)
|
||||
[self.section addClosedTime];
|
||||
}
|
||||
|
||||
@end
|
||||
Loading…
Add table
Add a link
Reference in a new issue