From 26e55c967513d3731948edde850443ca344c20c9 Mon Sep 17 00:00:00 2001 From: cjand <1747143535@qq.com> Date: Sat, 7 Sep 2024 10:40:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E4=BD=93=E4=B8=8D=E4=B8=BB=E5=8A=A8?= =?UTF-8?q?=E8=B7=9F=E9=9A=8F=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cjand <1747143535@qq.com> --- .../flutter_ohos_theme_fontsizescale/ohos/AppScope/app.json5 | 3 ++- .../ohos/AppScope/resources/base/profile/configuration.json | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 ohos/flutter_ohos_theme_fontsizescale/ohos/AppScope/resources/base/profile/configuration.json diff --git a/ohos/flutter_ohos_theme_fontsizescale/ohos/AppScope/app.json5 b/ohos/flutter_ohos_theme_fontsizescale/ohos/AppScope/app.json5 index 22837f25..7f3b48c0 100644 --- a/ohos/flutter_ohos_theme_fontsizescale/ohos/AppScope/app.json5 +++ b/ohos/flutter_ohos_theme_fontsizescale/ohos/AppScope/app.json5 @@ -5,6 +5,7 @@ "versionCode": 1000000, "versionName": "1.0.0", "icon": "$media:app_icon", - "label": "$string:app_name" + "label": "$string:app_name", + "configuration": "$profile:configuration" } } \ No newline at end of file diff --git a/ohos/flutter_ohos_theme_fontsizescale/ohos/AppScope/resources/base/profile/configuration.json b/ohos/flutter_ohos_theme_fontsizescale/ohos/AppScope/resources/base/profile/configuration.json new file mode 100644 index 00000000..711b91ea --- /dev/null +++ b/ohos/flutter_ohos_theme_fontsizescale/ohos/AppScope/resources/base/profile/configuration.json @@ -0,0 +1,5 @@ +{ + "configuration": { + "fontSizeScale": "followSystem" + } +} -- Gitee