From a99224ba00c90b4c30a58e2e698ec1034b8ecaa7 Mon Sep 17 00:00:00 2001 From: Ashutosh singh Date: Fri, 28 Jul 2023 17:30:35 +0530 Subject: [PATCH 1/2] correct enum name WearMode --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1cf7528..958e92b 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ class WatchScreen extends StatelessWidget { builder: (BuildContext context, WearShape shape, Widget? child) { return AmbientMode( builder: (context, mode, child) { - return mode == Mode.active ? ActiveWatchFace() : AmbientWatchFace(); + return mode == WearMode.active ? ActiveWatchFace() : AmbientWatchFace(); }, ); }, From 9efc5fa36f56bae9351c51ac421ca00ef4ba7d60 Mon Sep 17 00:00:00 2001 From: Ashutosh singh Date: Fri, 28 Jul 2023 18:14:32 +0530 Subject: [PATCH 2/2] Update build.gradle --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index c1bf6ac..9b2c36e 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -2,7 +2,7 @@ group 'com.mjohnsullivan.flutterwear.wear' version '1.0-SNAPSHOT' buildscript { - ext.kotlin_version = '1.5.10' + ext.kotlin_version = '1.5.20' repositories { google() mavenCentral()