mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
Trim whitespace from Import server config (#9341)
This commit is contained in:
@@ -184,7 +184,7 @@ List<Widget> ServerConfigImportExportWidgets(
|
|||||||
) {
|
) {
|
||||||
import() {
|
import() {
|
||||||
Clipboard.getData(Clipboard.kTextPlain).then((value) {
|
Clipboard.getData(Clipboard.kTextPlain).then((value) {
|
||||||
importConfig(controllers, errMsgs, value?.text);
|
importConfig(controllers, errMsgs, value?.text.trim());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user