Added warning message https connections

This commit is contained in:
Juan Gilsanz Polo 2023-11-20 01:51:17 +01:00
parent 6acc510583
commit d38b895076

View file

@ -395,6 +395,21 @@ class _AddServerModalState extends State<AddServerModal> {
horizontal: 24,
),
),
if (connectionType == ConnectionType.https) Card(
margin: const EdgeInsets.only(
top: 16, left: 24, right: 24
),
child: Padding(
padding: const EdgeInsets.all(16),
child: Row(
children: [
const Icon(Icons.info_rounded),
const SizedBox(width: 16),
Flexible(child: Text(AppLocalizations.of(context)!.sslWarning))
],
),
),
),
const SizedBox(height: 30),
FormTextField(
label: AppLocalizations.of(context)!.ipDomain,