diff --git a/lib/page/component/chat/chat_share.dart b/lib/page/component/chat/chat_share.dart index cf8d3276..de6bdb16 100644 --- a/lib/page/component/chat/chat_share.dart +++ b/lib/page/component/chat/chat_share.dart @@ -409,8 +409,8 @@ class _ChatShareScreenState extends State { /// 获取聊天框的最大宽度 double _chatBoxMaxWidth(BuildContext context) { var screenWidth = MediaQuery.of(context).size.width; - if (screenWidth >= CustomSize.maxWindowSize) { - return CustomSize.maxWindowSize; + if (screenWidth >= CustomSize.smallWindowSize) { + return CustomSize.smallWindowSize; } return screenWidth; diff --git a/lib/page/setting/setting_screen.dart b/lib/page/setting/setting_screen.dart index 524695bd..d5d1b5db 100644 --- a/lib/page/setting/setting_screen.dart +++ b/lib/page/setting/setting_screen.dart @@ -392,7 +392,8 @@ class _SettingScreenState extends State { Future>> _defaultServerList() async { return [ - SelectorItem(const Text('默认服务器'), apiServerURL), + SelectorItem(const Text('官方正式服务器'), apiServerURL), + SelectorItem(const Text('本地开发机'), 'http://localhost:8080'), ]; }