mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 10:26:19 +02:00
fix ci
This commit is contained in:
parent
9f9a22ec63
commit
d65d3b7326
2 changed files with 2 additions and 1 deletions
|
@ -3154,6 +3154,7 @@ class _ReconnectCountDownButtonState extends State<_ReconnectCountDownButton> {
|
||||||
|
|
||||||
importConfig(List<TextEditingController>? controllers, List<RxString>? errMsgs,
|
importConfig(List<TextEditingController>? controllers, List<RxString>? errMsgs,
|
||||||
String? text) {
|
String? text) {
|
||||||
|
text = text?.trim();
|
||||||
if (text != null && text.isNotEmpty) {
|
if (text != null && text.isNotEmpty) {
|
||||||
try {
|
try {
|
||||||
final sc = ServerConfig.decode(text);
|
final sc = ServerConfig.decode(text);
|
||||||
|
|
|
@ -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.trim());
|
importConfig(controllers, errMsgs, value?.text);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue