mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: SheetHeight
*no need to compute Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -25,7 +25,7 @@ class IntroDetail extends StatelessWidget {
|
||||
return Container(
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
padding: const EdgeInsets.only(left: 14, right: 14),
|
||||
height: Utils.getSheetHeight(context),
|
||||
// height: Utils.getSheetHeight(context),
|
||||
child: Column(
|
||||
children: [
|
||||
Container(
|
||||
|
||||
@@ -3,11 +3,9 @@ import 'dart:io';
|
||||
|
||||
import 'package:PiliPalaX/grpc/grpc_repo.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:hive/hive.dart';
|
||||
import 'package:PiliPalaX/http/common.dart';
|
||||
import 'package:PiliPalaX/pages/dynamics/index.dart';
|
||||
import 'package:PiliPalaX/pages/home/view.dart';
|
||||
import 'package:PiliPalaX/pages/media/index.dart';
|
||||
|
||||
@@ -21,7 +21,7 @@ class IntroDetail extends StatelessWidget {
|
||||
return Container(
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
padding: const EdgeInsets.only(left: 14, right: 14),
|
||||
height: Utils.getSheetHeight(context),
|
||||
// height: Utils.getSheetHeight(context),
|
||||
child: Column(
|
||||
children: [
|
||||
InkWell(
|
||||
|
||||
@@ -11,7 +11,6 @@ import 'package:PiliPalaX/models/common/reply_type.dart';
|
||||
import 'package:get/get_navigation/src/dialog/dialog_route.dart';
|
||||
import 'package:scrollable_positioned_list/scrollable_positioned_list.dart';
|
||||
|
||||
import '../../../../utils/utils.dart';
|
||||
import 'controller.dart';
|
||||
|
||||
class VideoReplyReplyPanel extends StatefulWidget {
|
||||
@@ -104,9 +103,9 @@ class _VideoReplyReplyPanelState extends State<VideoReplyReplyPanel> {
|
||||
key: _key,
|
||||
resizeToAvoidBottomInset: false,
|
||||
body: Container(
|
||||
height: widget.source == 'videoDetail'
|
||||
? Utils.getSheetHeight(context)
|
||||
: null,
|
||||
// height: widget.source == 'videoDetail'
|
||||
// ? Utils.getSheetHeight(context)
|
||||
// : null,
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
child: Column(
|
||||
children: [
|
||||
|
||||
@@ -19,7 +19,7 @@ class AiDetail extends StatelessWidget {
|
||||
return Container(
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
padding: const EdgeInsets.symmetric(horizontal: 14),
|
||||
height: Utils.getSheetHeight(context),
|
||||
// height: Utils.getSheetHeight(context),
|
||||
child: Column(
|
||||
children: [
|
||||
InkWell(
|
||||
|
||||
Reference in New Issue
Block a user