diff --git a/lib/common/widgets/interactiveviewer_gallery/interactiveviewer_gallery.dart b/lib/common/widgets/interactiveviewer_gallery/interactiveviewer_gallery.dart index 5c21acb4..752bae03 100644 --- a/lib/common/widgets/interactiveviewer_gallery/interactiveviewer_gallery.dart +++ b/lib/common/widgets/interactiveviewer_gallery/interactiveviewer_gallery.dart @@ -390,7 +390,7 @@ class _InteractiveviewerGalleryState extends State double targetScale = widget.minScale; if (currentScale <= widget.minScale) { - targetScale = widget.maxScale * 0.7; + targetScale = widget.maxScale * 0.4; } double offSetX = targetScale == 1.0 diff --git a/lib/pages/danmaku_block/index.dart b/lib/pages/danmaku_block/index.dart index 95390a4d..6dba88d7 100644 --- a/lib/pages/danmaku_block/index.dart +++ b/lib/pages/danmaku_block/index.dart @@ -113,6 +113,7 @@ class _DanmakuBlockPageState extends State { @override Widget build(BuildContext context) { return Scaffold( + resizeToAvoidBottomInset: false, appBar: AppBar( title: TabBar( controller: _danmakuBlockController.tabController, diff --git a/lib/pages/dynamics/detail/view.dart b/lib/pages/dynamics/detail/view.dart index 9ce92a02..b33f7808 100644 --- a/lib/pages/dynamics/detail/view.dart +++ b/lib/pages/dynamics/detail/view.dart @@ -190,6 +190,7 @@ class _DynamicDetailPageState extends State @override Widget build(BuildContext context) { return Scaffold( + resizeToAvoidBottomInset: false, appBar: AppBar( title: StreamBuilder( stream: _titleStreamC.stream, diff --git a/lib/pages/dynamics/view.dart b/lib/pages/dynamics/view.dart index b98970c3..10fcabbc 100644 --- a/lib/pages/dynamics/view.dart +++ b/lib/pages/dynamics/view.dart @@ -167,6 +167,7 @@ class _DynamicsPageState extends State Widget build(BuildContext context) { super.build(context); return Scaffold( + resizeToAvoidBottomInset: false, backgroundColor: Colors.transparent, appBar: AppBar( leading: upPanelPosition == UpPanelPosition.rightDrawer diff --git a/lib/pages/html/view.dart b/lib/pages/html/view.dart index 1e9127b1..1db362b9 100644 --- a/lib/pages/html/view.dart +++ b/lib/pages/html/view.dart @@ -133,6 +133,7 @@ class _HtmlRenderPageState extends State @override Widget build(BuildContext context) { return Scaffold( + resizeToAvoidBottomInset: false, appBar: AppBar( title: Text(title), actions: [ diff --git a/lib/pages/live_room/widgets/chat.dart b/lib/pages/live_room/widgets/chat.dart index a3f815e6..c2e14a16 100644 --- a/lib/pages/live_room/widgets/chat.dart +++ b/lib/pages/live_room/widgets/chat.dart @@ -106,7 +106,7 @@ class _LiveRoomChatState extends State { dynamic emots = obj['emots']; dynamic uemote = obj['uemote']; List list = [ - if (emots != null) emots.keys, + if (emots != null) ...emots.keys, if (uemote is Map) uemote['emoticon_unique'].replaceFirst('upower_', '') ]; if (list.isNotEmpty) { diff --git a/lib/pages/login/view.dart b/lib/pages/login/view.dart index 98e97098..fbc6a174 100644 --- a/lib/pages/login/view.dart +++ b/lib/pages/login/view.dart @@ -420,7 +420,6 @@ class _LoginPageState extends State { Widget build(BuildContext context) { return OrientationBuilder(builder: (context, orientation) { return Scaffold( - resizeToAvoidBottomInset: false, appBar: AppBar( leading: IconButton( tooltip: '关闭',