spelling: label

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-01-09 02:30:29 -05:00
parent f851c5213a
commit 0fb8250000
2 changed files with 10 additions and 10 deletions

View File

@ -1436,7 +1436,7 @@ Widget _lock(
_LabeledTextField(
BuildContext context,
String lable,
String label,
TextEditingController controller,
String errorText,
bool enabled,
@ -1447,7 +1447,7 @@ _LabeledTextField(
Expanded(
flex: 4,
child: Text(
'${translate(lable)}:',
'${translate(label)}:',
textAlign: TextAlign.right,
style: TextStyle(color: _disabledTextColor(context, enabled)),
),

View File

@ -127,8 +127,8 @@ class _PortForwardPageState extends State<PortForwardPage>
}
buildTunnel(BuildContext context) {
text(String lable) => Expanded(
child: Text(translate(lable)).marginOnly(left: _kTextLeftMargin));
text(String label) => Expanded(
child: Text(translate(label)).marginOnly(left: _kTextLeftMargin));
return Theme(
data: Theme.of(context)
@ -241,8 +241,8 @@ class _PortForwardPageState extends State<PortForwardPage>
}
Widget buildTunnelDataRow(BuildContext context, _PortForward pf, int index) {
text(String lable) => Expanded(
child: Text(lable, style: const TextStyle(fontSize: 20))
text(String label) => Expanded(
child: Text(label, style: const TextStyle(fontSize: 20))
.marginOnly(left: _kTextLeftMargin));
return Container(
@ -285,11 +285,11 @@ class _PortForwardPageState extends State<PortForwardPage>
}
buildRdp(BuildContext context) {
text1(String lable) => Expanded(
child: Text(translate(lable)).marginOnly(left: _kTextLeftMargin));
text2(String lable) => Expanded(
text1(String label) => Expanded(
child: Text(translate(label)).marginOnly(left: _kTextLeftMargin));
text2(String label) => Expanded(
child: Text(
lable,
label,
style: const TextStyle(fontSize: 20),
).marginOnly(left: _kTextLeftMargin));
return Theme(