diff --git a/src/tgui-bash.sh b/src/tgui-bash.sh index 5f3eb7b..1935bc5 100644 --- a/src/tgui-bash.sh +++ b/src/tgui-bash.sh @@ -470,7 +470,7 @@ function tg_activity_description() { tg_json_send "setTaskDescription" tg__local_params } -function tg_activity_pip_tg__local_params() { +function tg_activity_pip_params() { declare -A tg__local_params=([aid]="$1" [num]="$2" [den]="$3") tg_json_send "setPiPParams" tg__local_params } diff --git a/tutorial/widget.sh b/tutorial/widget.sh index 8102f8f..ff402ef 100644 --- a/tutorial/widget.sh +++ b/tutorial/widget.sh @@ -42,6 +42,6 @@ while true; do tg_remote_text "$rl" "$rt" "$text" # Set the widget layout and destroy the remote layout again tg_widget_layout "$rl" "$wid" - tc_remote_delete_layout "$rl" + tg_remote_delete_layout "$rl" fi done