On non-desktop, split the two input sections for readability

This commit is contained in:
zontreck 2025-03-14 23:39:06 -07:00
parent db7130aca5
commit 41b32923dd

View file

@ -141,19 +141,42 @@ class BugVaultLoadPageState extends State<BugVaultLoadPage> {
"The URL to where the instance of BugVault is running",
),
),
Row(
children: [
Text("HOST / FQDN :"),
Expanded(child: highlightTextField(URL_CONTROLLER)),
Text("PORT :"),
Expanded(
child: highlightTextField(
PORT_CONTROLLER,
keyboardType: TextInputType.number,
if (Platform.isAndroid || Platform.isIOS)
Column(
children: [
Row(
children: [
Text("HOST / FQDN :"),
Expanded(child: highlightTextField(URL_CONTROLLER)),
],
),
),
],
),
Row(
children: [
Text("PORT :"),
Expanded(
child: highlightTextField(
PORT_CONTROLLER,
keyboardType: TextInputType.number,
),
),
],
),
],
)
else
Row(
children: [
Text("HOST / FQDN :"),
Expanded(child: highlightTextField(URL_CONTROLLER)),
Text("PORT :"),
Expanded(
child: highlightTextField(
PORT_CONTROLLER,
keyboardType: TextInputType.number,
),
),
],
),
ListTile(
title: Text("NOTICE"),
subtitle: Text(