Skip to content

Commit

Permalink
feat: add icon and fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
jincheng.zhang committed Apr 8, 2024
1 parent 6c2b68f commit 41801bb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions crates/netpurr/src/panels/response_panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,7 @@ impl ResponsePanel {
.strong(),
);
});
ui.horizontal(|ui| {
ui.link("Code");
});

ui.horizontal(|ui| {
for response_panel_enum in ResponsePanelEnum::iter() {
ui.selectable_value(
Expand Down
1 change: 0 additions & 1 deletion crates/netpurr/src/panels/top_panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ impl TopPanel {
ui.vertical(|ui| {
ui.add_space(VERTICAL_GAP);
ui.horizontal(|ui| {
if ui.button("New").clicked() {}
ui.add_space(HORIZONTAL_GAP);
if ui.button("Import").clicked() {
operation.add_window(Box::new(ImportWindows::default()))
Expand Down
4 changes: 1 addition & 3 deletions crates/netpurr/src/panels/websocket_panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,7 @@ impl WebSocketPanel {
});
},
|ui| {
ui.horizontal(|ui| {
ui.link("Code");
});

},
);
}
Expand Down

0 comments on commit 41801bb

Please sign in to comment.