From af840bdb97b6f6d6c50bf968a5b282162edc29ee Mon Sep 17 00:00:00 2001 From: Mark Lester Bolotaolo Date: Thu, 2 Nov 2023 05:12:08 -0700 Subject: [PATCH] Update README.md The name of the enum is now 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(); }, ); },