diff --git a/lib/home_adapters/adapter.gd b/lib/home_adapters/adapter.gd index 2ecb2b3..e330a4d 100644 --- a/lib/home_adapters/adapter.gd +++ b/lib/home_adapters/adapter.gd @@ -27,7 +27,7 @@ func _init(type: ADAPTER_TYPES): var clipboard := DisplayServer.clipboard_get() - if clipboard != null: + if clipboard != null && clipboard.find(" ") != -1: var clip_url = clipboard.split(" ")[0] var clip_token = clipboard.split(" ")[1] adapter = adapters[type].new(clip_url, clip_token)