File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -344,9 +344,9 @@ impl NotifyWindow {
344344 add_css_class: "small" ,
345345 set_label: "View Action" ,
346346 connect_clicked[ text_view] => move |_| {
347- text_view. buffer( ) . insert_at_cursor( r#""action ": [
347+ text_view. buffer( ) . insert_at_cursor( r#""actions ": [
348348 {
349- "type ": "view",
349+ "action ": "view",
350350 "label": "torvalds boosted your toot",
351351 "url": "https://joinmastodon.org"
352352 }
@@ -358,9 +358,9 @@ impl NotifyWindow {
358358 add_css_class: "small" ,
359359 set_label: "HTTP Action" ,
360360 connect_clicked[ text_view] => move |_| {
361- text_view. buffer( ) . insert_at_cursor( r#""action ": [
361+ text_view. buffer( ) . insert_at_cursor( r#""actions ": [
362362 {
363- "type ": "http",
363+ "action ": "http",
364364 "label": "Turn off lights",
365365 "method": "post",
366366 "url": "https://api.example.com/lights",
You can’t perform that action at this time.
0 commit comments