lucky1213 4 år sedan
förälder
incheckning
90077c66e4

+ 1
- 0
packages/zefyr/lib/src/widgets/__theme.dart Visa fil

@@ -230,6 +230,7 @@ class BlockTheme {
230 230
     String fontFamily;
231 231
     switch (themeData.platform) {
232 232
       case TargetPlatform.iOS:
233
+      case TargetPlatform.macOS:
233 234
         fontFamily = 'Menlo';
234 235
         break;
235 236
       case TargetPlatform.android:

+ 1
- 0
packages/zefyr/lib/src/widgets/common.dart Visa fil

@@ -60,6 +60,7 @@ class _ZefyrLineState extends State<ZefyrLine> {
60 60
       Color cursorColor;
61 61
       switch (theme.platform) {
62 62
         case TargetPlatform.iOS:
63
+        case TargetPlatform.macOS:
63 64
           cursorColor ??= CupertinoTheme.of(context).primaryColor;
64 65
           break;
65 66