|
@@ -35,12 +35,9 @@ namespace InABox.Mobile
|
|
|
BeforeTap?.Invoke(this,EventArgs.Empty);
|
|
|
try
|
|
|
{
|
|
|
- if ((sender is MobileCard card) && (card.BindingContext is IModuleMenuItem module) && module.IsEnabled)
|
|
|
- {
|
|
|
- card.Scale = 0.5;
|
|
|
- await card.ScaleTo(1, 150);
|
|
|
+ if (((sender as MobileCard)?.BindingContext is IModuleMenuItem module) && module.IsEnabled)
|
|
|
module.Tap();
|
|
|
- }
|
|
|
+
|
|
|
}
|
|
|
catch (Exception err)
|
|
|
{
|