mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-25 21:05:52 +08:00
@@ -91,8 +91,11 @@ class _AboutPageState extends State<AboutPage> {
|
||||
context: context,
|
||||
builder: (context) {
|
||||
return AlertDialog(
|
||||
constraints: StyleString.dialogFixedConstraints,
|
||||
content: TextField(
|
||||
autofocus: true,
|
||||
minLines: 1,
|
||||
maxLines: 4,
|
||||
onSubmitted: (value) {
|
||||
Get.back();
|
||||
if (value.isNotEmpty) {
|
||||
@@ -451,10 +454,7 @@ Future<void> showImportExportDialog<T>(
|
||||
builder: (context) {
|
||||
return AlertDialog(
|
||||
title: Text('输入$title'),
|
||||
constraints: const BoxConstraints(
|
||||
minWidth: 420,
|
||||
maxWidth: 420,
|
||||
),
|
||||
constraints: StyleString.dialogFixedConstraints,
|
||||
content: TextFormField(
|
||||
key: key,
|
||||
minLines: 4,
|
||||
|
||||
Reference in New Issue
Block a user