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(); }, ); }, 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()