mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-27 04:07:14 +00:00
Changed from to buttons design
This commit is contained in:
parent
ad3046a84b
commit
5d45829937
3 changed files with 22 additions and 12 deletions
|
@ -741,8 +741,8 @@
|
||||||
"friday": "Friday",
|
"friday": "Friday",
|
||||||
"saturday": "Saturday",
|
"saturday": "Saturday",
|
||||||
"sunday": "Sunday",
|
"sunday": "Sunday",
|
||||||
"from": "From: {from}",
|
"from": "From",
|
||||||
"to": "To: {to}",
|
"to": "To",
|
||||||
"selectStartTime": "Select start time",
|
"selectStartTime": "Select start time",
|
||||||
"selectEndTime": "Select end time",
|
"selectEndTime": "Select end time",
|
||||||
"startTimeBeforeEndTime": "Start time must be before end time.",
|
"startTimeBeforeEndTime": "Start time must be before end time.",
|
||||||
|
|
|
@ -741,8 +741,8 @@
|
||||||
"friday": "Viernes",
|
"friday": "Viernes",
|
||||||
"saturday": "Sábado",
|
"saturday": "Sábado",
|
||||||
"sunday": "Domingo",
|
"sunday": "Domingo",
|
||||||
"from": "Desde: {from}",
|
"from": "Desde",
|
||||||
"to": "Hasta: {to}",
|
"to": "Hasta",
|
||||||
"selectStartTime": "Seleccionar hora de inicio",
|
"selectStartTime": "Seleccionar hora de inicio",
|
||||||
"selectEndTime": "Seleccionar hora de fin",
|
"selectEndTime": "Seleccionar hora de fin",
|
||||||
"startTimeBeforeEndTime": "La hora de inicio debe ser anterior a la hora de fin.",
|
"startTimeBeforeEndTime": "La hora de inicio debe ser anterior a la hora de fin.",
|
||||||
|
|
|
@ -236,10 +236,15 @@ class _BlockingScheduleModalState extends State<BlockingScheduleModal> {
|
||||||
);
|
);
|
||||||
setState(() => _from = selected);
|
setState(() => _from = selected);
|
||||||
},
|
},
|
||||||
child: Text(
|
child: Padding(
|
||||||
AppLocalizations.of(context)!.from(
|
padding: const EdgeInsets.symmetric(vertical: 4),
|
||||||
_from != null ? "${_from!.hour.toString().padLeft(2, '0')}:${_from!.minute.toString().padLeft(2, '0')}" : "--:--"
|
child: Column(
|
||||||
)
|
children: [
|
||||||
|
Text(AppLocalizations.of(context)!.from),
|
||||||
|
const SizedBox(height: 2),
|
||||||
|
Text(_from != null ? "${_from!.hour.toString().padLeft(2, '0')}:${_from!.minute.toString().padLeft(2, '0')}" : "--:--")
|
||||||
|
],
|
||||||
|
),
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
ElevatedButton(
|
ElevatedButton(
|
||||||
|
@ -252,10 +257,15 @@ class _BlockingScheduleModalState extends State<BlockingScheduleModal> {
|
||||||
);
|
);
|
||||||
setState(() => _to = selected);
|
setState(() => _to = selected);
|
||||||
},
|
},
|
||||||
child: Text(
|
child: Padding(
|
||||||
AppLocalizations.of(context)!.to(
|
padding: const EdgeInsets.symmetric(vertical: 4),
|
||||||
_to != null ? "${_to!.hour.toString().padLeft(2, '0')}:${_to!.minute.toString().padLeft(2, '0')}" : "--:--"
|
child: Column(
|
||||||
)
|
children: [
|
||||||
|
Text(AppLocalizations.of(context)!.to),
|
||||||
|
const SizedBox(height: 2),
|
||||||
|
Text(_to != null ? "${_to!.hour.toString().padLeft(2, '0')}:${_to!.minute.toString().padLeft(2, '0')}" : "--:--")
|
||||||
|
],
|
||||||
|
),
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue