Merge branch 'fix/mobile-scale-custom-pr' of github.com:deblasis/rustdesk into fix/mobile-scale-custom-pr

This commit is contained in:
Alessandro De Blasis
2025-10-29 10:10:22 +01:00

View File

@@ -170,14 +170,14 @@ class _MobileCustomScaleControlsState extends State<MobileCustomScaleControls> {
children: [ children: [
Text( Text(
'${translate("Scale custom")}: $_value%', '${translate("Scale custom")}: $_value%',
style: TextStyle(fontSize: 14, fontWeight: FontWeight.w500), style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w500),
), ),
SizedBox(height: 8), const SizedBox(height: 8),
Row( Row(
children: [ children: [
IconButton( IconButton(
iconSize: 20, iconSize: 20,
padding: EdgeInsets.all(4), padding: const EdgeInsets.all(4),
constraints: smallBtnConstraints, constraints: smallBtnConstraints,
icon: const Icon(Icons.remove), icon: const Icon(Icons.remove),
tooltip: translate('Decrease'), tooltip: translate('Decrease'),
@@ -186,7 +186,7 @@ class _MobileCustomScaleControlsState extends State<MobileCustomScaleControls> {
Expanded(child: sliderControl), Expanded(child: sliderControl),
IconButton( IconButton(
iconSize: 20, iconSize: 20,
padding: EdgeInsets.all(4), padding: const EdgeInsets.all(4),
constraints: smallBtnConstraints, constraints: smallBtnConstraints,
icon: const Icon(Icons.add), icon: const Icon(Icons.add),
tooltip: translate('Increase'), tooltip: translate('Increase'),