mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 18:36:11 +02:00
web (#9640)
resolution, image quality, tab name, last remote id Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
parent
6cdbcfc082
commit
af610b2408
5 changed files with 28 additions and 22 deletions
|
@ -212,6 +212,8 @@ class _ConnectionPageState extends State<ConnectionPage> {
|
|||
FocusNode fieldFocusNode,
|
||||
VoidCallback onFieldSubmitted) {
|
||||
fieldTextEditingController.text = _idController.text;
|
||||
Get.put<TextEditingController>(
|
||||
fieldTextEditingController);
|
||||
fieldFocusNode.addListener(() async {
|
||||
_idEmpty.value =
|
||||
fieldTextEditingController.text.isEmpty;
|
||||
|
@ -352,7 +354,8 @@ class _ConnectionPageState extends State<ConnectionPage> {
|
|||
);
|
||||
final child = Column(children: [
|
||||
if (isWebDesktop)
|
||||
getConnectionPageTitle(context, true).marginOnly(bottom: 10, top: 15, left: 12),
|
||||
getConnectionPageTitle(context, true)
|
||||
.marginOnly(bottom: 10, top: 15, left: 12),
|
||||
w
|
||||
]);
|
||||
return Align(
|
||||
|
@ -367,6 +370,9 @@ class _ConnectionPageState extends State<ConnectionPage> {
|
|||
if (Get.isRegistered<IDTextEditingController>()) {
|
||||
Get.delete<IDTextEditingController>();
|
||||
}
|
||||
if (Get.isRegistered<TextEditingController>()) {
|
||||
Get.delete<TextEditingController>();
|
||||
}
|
||||
if (!bind.isCustomClient()) {
|
||||
platformFFI.unregisterEventHandler(
|
||||
kCheckSoftwareUpdateFinish, kCheckSoftwareUpdateFinish);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue