Skip to content

Commit

Permalink
Hide IP field when input is not a domain name
Browse files Browse the repository at this point in the history
  • Loading branch information
Bytezz committed Jun 6, 2023
1 parent 435bfb6 commit ebc054c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ def on_search(self, widget):
#self.win.ip_entry.set_position(-1)
self.win.ip_label.set_label(ipinfo["query"])
self.win.ip_row.set_visible(True) # TODO: Animate
else:
self.win.ip_row.set_visible(False)

self.win.network_label.set_label(ipinfo["as"])
self.win.isp_label.set_label(ipinfo["isp"])
Expand Down

0 comments on commit ebc054c

Please sign in to comment.