mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 03:28:03 +00:00
android refactor password
This commit is contained in:
@@ -313,3 +313,15 @@ class PermissionManager {
|
||||
_current = "";
|
||||
}
|
||||
}
|
||||
|
||||
RadioListTile<T> getRadio<T>(
|
||||
String name, T toValue, T curValue, void Function(T?) onChange) {
|
||||
return RadioListTile<T>(
|
||||
controlAffinity: ListTileControlAffinity.trailing,
|
||||
title: Text(translate(name)),
|
||||
value: toValue,
|
||||
groupValue: curValue,
|
||||
onChanged: onChange,
|
||||
dense: true,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user