Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix: remove getRadio todo and delete contentPadding param (#8839)

zuiyuf0f50f0f0321
diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart
index 246cba198..eba626343 100644
--- a/flutter/lib/common.dart
+++ b/flutter/lib/common.dart
@@ -1409,14 +1409,10 @@ class AndroidPermissionManager {
}
}
-// TODO move this to mobile/widgets.
-// Used only for mobile, pages remote, settings, dialog
-// TODO remove argument contentPadding, it’s not used, getToggle() has not
RadioListTile<T> getRadio<T>(
Widget title, T toValue, T curValue, ValueChanged<T?>? onChange,
- {EdgeInsetsGeometry? contentPadding, bool? dense}) {
+ {bool? dense}) {
return RadioListTile<T>(
- contentPadding: contentPadding ?? EdgeInsets.zero,
visualDensity: VisualDensity.compact,
controlAffinity: ListTileControlAffinity.trailing,
title: title,