mod: pages

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-13 13:35:33 +08:00
parent 94d055610e
commit 1b71fd4ca6
7 changed files with 6 additions and 3 deletions

View File

@@ -390,7 +390,7 @@ class _InteractiveviewerGalleryState extends State<InteractiveviewerGallery>
double targetScale = widget.minScale; double targetScale = widget.minScale;
if (currentScale <= widget.minScale) { if (currentScale <= widget.minScale) {
targetScale = widget.maxScale * 0.7; targetScale = widget.maxScale * 0.4;
} }
double offSetX = targetScale == 1.0 double offSetX = targetScale == 1.0

View File

@@ -113,6 +113,7 @@ class _DanmakuBlockPageState extends State<DanmakuBlockPage> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
resizeToAvoidBottomInset: false,
appBar: AppBar( appBar: AppBar(
title: TabBar( title: TabBar(
controller: _danmakuBlockController.tabController, controller: _danmakuBlockController.tabController,

View File

@@ -190,6 +190,7 @@ class _DynamicDetailPageState extends State<DynamicDetailPage>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
resizeToAvoidBottomInset: false,
appBar: AppBar( appBar: AppBar(
title: StreamBuilder( title: StreamBuilder(
stream: _titleStreamC.stream, stream: _titleStreamC.stream,

View File

@@ -167,6 +167,7 @@ class _DynamicsPageState extends State<DynamicsPage>
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context); super.build(context);
return Scaffold( return Scaffold(
resizeToAvoidBottomInset: false,
backgroundColor: Colors.transparent, backgroundColor: Colors.transparent,
appBar: AppBar( appBar: AppBar(
leading: upPanelPosition == UpPanelPosition.rightDrawer leading: upPanelPosition == UpPanelPosition.rightDrawer

View File

@@ -133,6 +133,7 @@ class _HtmlRenderPageState extends State<HtmlRenderPage>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
resizeToAvoidBottomInset: false,
appBar: AppBar( appBar: AppBar(
title: Text(title), title: Text(title),
actions: [ actions: [

View File

@@ -106,7 +106,7 @@ class _LiveRoomChatState extends State<LiveRoomChat> {
dynamic emots = obj['emots']; dynamic emots = obj['emots'];
dynamic uemote = obj['uemote']; dynamic uemote = obj['uemote'];
List list = [ List list = [
if (emots != null) emots.keys, if (emots != null) ...emots.keys,
if (uemote is Map) uemote['emoticon_unique'].replaceFirst('upower_', '') if (uemote is Map) uemote['emoticon_unique'].replaceFirst('upower_', '')
]; ];
if (list.isNotEmpty) { if (list.isNotEmpty) {

View File

@@ -420,7 +420,6 @@ class _LoginPageState extends State<LoginPage> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return OrientationBuilder(builder: (context, orientation) { return OrientationBuilder(builder: (context, orientation) {
return Scaffold( return Scaffold(
resizeToAvoidBottomInset: false,
appBar: AppBar( appBar: AppBar(
leading: IconButton( leading: IconButton(
tooltip: '关闭', tooltip: '关闭',