Skip to content
Permalink
Browse files

Upgrade to Wearable 2.5.0

Remove the no longer needed safeOnTap()
  • Loading branch information...
ianhanniballake committed Aug 28, 2019
1 parent 0ef2783 commit 1bc64904ec982d3442f95de24374a620e3da2f04
@@ -42,7 +42,7 @@ buildscript {
preferenceVersion = '1.1.0-rc01'
recyclerViewVersion = '1.1.0-beta03'
roomVersion = '2.2.0-beta01'
wearableVersion = '2.4.0'
wearableVersion = '2.5.0'
wearVersion = '1.0.0'
workManagerVersion = '2.3.0-alpha01'
}

This file was deleted.

@@ -507,10 +507,10 @@ class MuzeiWatchFace : CanvasWatchFaceService(), LifecycleOwner {
when (tapType) {
WatchFaceService.TAP_TYPE_TAP -> {
when {
topComplication?.safeOnTap(x, y) == true -> {
topComplication?.onTap(x, y) == true -> {
invalidate()
}
bottomComplication?.safeOnTap(x, y) == true -> {
bottomComplication?.onTap(x, y) == true -> {
invalidate()
}
tapAction == "toggle" -> {

0 comments on commit 1bc6490

Please sign in to comment.
You can’t perform that action at this time.