mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
fix chat panel container
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -4,6 +4,7 @@ import 'dart:math' show max;
|
||||
|
||||
import 'package:PiliPlus/models/common/publish_panel_type.dart';
|
||||
import 'package:PiliPlus/utils/extension/context_ext.dart';
|
||||
import 'package:PiliPlus/utils/storage_pref.dart';
|
||||
import 'package:chat_bottom_container/chat_bottom_container.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
@@ -27,7 +28,9 @@ abstract class CommonPublishPageState<T extends CommonPublishPage>
|
||||
extends State<T>
|
||||
with WidgetsBindingObserver {
|
||||
late final FocusNode focusNode;
|
||||
late final controller = ChatBottomPanelContainerController<PanelType>();
|
||||
late final controller = ChatBottomPanelContainerController<PanelType>(
|
||||
uiScale: Pref.uiScale,
|
||||
);
|
||||
TextEditingController get editController;
|
||||
|
||||
final Rx<PanelType> panelType = PanelType.none.obs;
|
||||
|
||||
@@ -264,7 +264,7 @@ packages:
|
||||
description:
|
||||
path: "packages/chat_bottom_container"
|
||||
ref: main
|
||||
resolved-ref: acccababf698ef1712031c383ea4b7ff54ae630c
|
||||
resolved-ref: dba2bf10db4a6f89564d9be63ce17b18f0f7e3e5
|
||||
url: "https://github.com/bggRGjQaUbCoE/flutter_chat_packages.git"
|
||||
source: git
|
||||
version: "0.3.2"
|
||||
|
||||
Reference in New Issue
Block a user