mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
update API for status code 10
This commit is contained in:
parent
d4bfcaef08
commit
48621156bf
2 changed files with 20 additions and 4 deletions
|
|
@ -79,13 +79,26 @@ class Response
|
|||
$this->hide();
|
||||
}
|
||||
|
||||
public function show(): void
|
||||
public function show(
|
||||
?string $placeholder = null
|
||||
): void
|
||||
{
|
||||
if ($placeholder)
|
||||
{
|
||||
$this->query->setPlaceholder(
|
||||
$placeholder
|
||||
);
|
||||
}
|
||||
|
||||
$this->gtk->show();
|
||||
}
|
||||
|
||||
public function hide(): void
|
||||
{
|
||||
$this->query->setPlaceholder(
|
||||
null
|
||||
);
|
||||
|
||||
$this->gtk->hide();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue