- theme
- host card actions including long press - add host button
This commit is contained in:
1 parent
6ae3beb2a5
commit
049034e5a9
14 files changed
+628
-383
No files matched your search
@@ -216,7 +216,7 @@ static const int LABEL_DY = 20;
|
||||
|
||||
- (void) hostLongClicked:(UILongPressGestureRecognizer*)gesture {
|
||||
if (gesture.state == UIGestureRecognizerStateBegan) {
|
||||
[_callback hostLongClicked:_host view:self];
|
||||
[_callback hostCardLongPressed:_host view:self];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -228,7 +228,7 @@ static const int LABEL_DY = 20;
|
||||
// effect of removing the touch highlight on this view.
|
||||
[self cancelTrackingWithEvent:nil];
|
||||
|
||||
[_callback hostLongClicked:_host view:self];
|
||||
[_callback hostCardLongPressed:_host view:self];
|
||||
return nil;
|
||||
}
|
||||
#endif
|
||||
@@ -238,7 +238,7 @@ static const int LABEL_DY = 20;
|
||||
}
|
||||
|
||||
- (void) addClicked {
|
||||
[_callback addHostClicked];
|
||||
[_callback addHostTapped];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user