Skip to content

Commit

Permalink
Use android platform widget for ohos
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Jan 17, 2025
1 parent 1c70a4f commit 362db02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ui/widgets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class PlatformWidget extends StatelessWidget {
switch (defaultTargetPlatform) {
case TargetPlatform.android:
return androidBuilder(context);
case TargetPlatform.ohos:
return androidBuilder(context);
case TargetPlatform.iOS:
return iosBuilder(context);
default:
Expand Down

0 comments on commit 362db02

Please sign in to comment.