Skip to content

Commit

Permalink
chore: bump and remove dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pommee committed Aug 13, 2024
1 parent 38d993c commit fc018ad
Show file tree
Hide file tree
Showing 3 changed files with 162 additions and 160 deletions.
4 changes: 2 additions & 2 deletions application/widget/content.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def search_logs(self, pattern):
self.indices = []

@on(Input.Changed)
def input_changed(self, input=Input(validate_on=["changed"])) -> None:
def input_changed(self, input=Input()) -> None:
keyword = input.value
case_sensitive_switch = self.query_one("#case-sensitive-switch", Switch).value
logs.case_sensitive = 0 if case_sensitive_switch else re.IGNORECASE
Expand Down Expand Up @@ -140,7 +140,7 @@ def input_changed(self, input=Input(validate_on=["changed"])) -> None:
self.current_index = 0

@on(Input.Submitted)
def input_submitted(self, input=Input(validate_on=["submitted"])) -> None:
def input_submitted(self, input=Input()) -> None:
keyword = input.value
case_sensitive_switch = self.query_one("#case-sensitive-switch", Switch).value
logs.case_sensitive = 0 if case_sensitive_switch else re.IGNORECASE
Expand Down
Loading

0 comments on commit fc018ad

Please sign in to comment.