mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 19:17:58 +00:00
@@ -634,8 +634,14 @@ class CustomAlertDialog extends StatelessWidget {
|
|||||||
title: title,
|
title: title,
|
||||||
contentPadding: EdgeInsets.symmetric(
|
contentPadding: EdgeInsets.symmetric(
|
||||||
horizontal: contentPadding ?? 25, vertical: 10),
|
horizontal: contentPadding ?? 25, vertical: 10),
|
||||||
content:
|
content: ConstrainedBox(
|
||||||
ConstrainedBox(constraints: contentBoxConstraints, child: content),
|
constraints: contentBoxConstraints,
|
||||||
|
child: Theme(
|
||||||
|
data: ThemeData(
|
||||||
|
inputDecorationTheme: InputDecorationTheme(
|
||||||
|
isDense: true, contentPadding: EdgeInsets.all(15)),
|
||||||
|
),
|
||||||
|
child: content)),
|
||||||
actions: actions,
|
actions: actions,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -597,8 +597,6 @@ void setPasswordDialog() async {
|
|||||||
child: TextField(
|
child: TextField(
|
||||||
obscureText: true,
|
obscureText: true,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
isDense: true,
|
|
||||||
contentPadding: EdgeInsets.all(15),
|
|
||||||
labelText: translate('Password'),
|
labelText: translate('Password'),
|
||||||
border: const OutlineInputBorder(),
|
border: const OutlineInputBorder(),
|
||||||
errorText: errMsg0.isNotEmpty ? errMsg0 : null),
|
errorText: errMsg0.isNotEmpty ? errMsg0 : null),
|
||||||
@@ -625,8 +623,6 @@ void setPasswordDialog() async {
|
|||||||
child: TextField(
|
child: TextField(
|
||||||
obscureText: true,
|
obscureText: true,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
isDense: true,
|
|
||||||
contentPadding: EdgeInsets.all(15),
|
|
||||||
border: const OutlineInputBorder(),
|
border: const OutlineInputBorder(),
|
||||||
labelText: translate('Confirmation'),
|
labelText: translate('Confirmation'),
|
||||||
errorText: errMsg1.isNotEmpty ? errMsg1 : null),
|
errorText: errMsg1.isNotEmpty ? errMsg1 : null),
|
||||||
|
|||||||
Reference in New Issue
Block a user