Skip to content

Commit f69734d

Browse files
committed
fix breaking changes for new textual version
1 parent 32bebff commit f69734d

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ dependencies = [
3333
"pyperclip~=1.11",
3434
"rich~=14.3",
3535
"tenacity~=9.1",
36-
"textual~=7.5",
37-
"textual-fspicker~=0.6",
36+
"textual~=8.1",
37+
"textual-fspicker~=1.0",
3838
"tomlkit~=0.14",
3939
"typer~=0.21",
4040
"pywin32; sys_platform == 'win32'"

src/redfetch/terminal_ui.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,7 @@ def update_myseq_settings(self, opt_in: bool) -> None:
15261526
self.notify("MySEQ is not available for the current environment", severity="error")
15271527

15281528
def update_eq_maps_settings(self, selected_value: str | None) -> None:
1529-
if selected_value is None or selected_value == Select.BLANK:
1529+
if selected_value is None or selected_value == Select.NULL:
15301530
brewall_opt_in = False
15311531
good_opt_in = False
15321532
else:
@@ -1536,16 +1536,16 @@ def update_eq_maps_settings(self, selected_value: str | None) -> None:
15361536
config.update_setting(['SPECIAL_RESOURCES', '153', 'opt_in'], brewall_opt_in, env=self.current_env)
15371537
config.update_setting(['SPECIAL_RESOURCES', '303', 'opt_in'], good_opt_in, env=self.current_env)
15381538

1539-
if selected_value is None or selected_value == Select.BLANK:
1539+
if selected_value is None or selected_value == Select.NULL:
15401540
self.notify("EQ Maps settings cleared")
15411541
else:
15421542
self.notify(f"EQ Maps settings updated: Brewall's Maps: {brewall_opt_in}, Good's Maps: {good_opt_in}")
15431543

15441544
def get_current_eq_maps_value(self) -> str:
15451545
if not self.eq_path:
1546-
return Select.BLANK
1546+
return Select.NULL
15471547
eq_maps_status = utils.get_eq_maps_status()
1548-
return eq_maps_status if eq_maps_status else Select.BLANK
1548+
return eq_maps_status if eq_maps_status else Select.NULL
15491549

15501550
#
15511551
# File/folder operations

0 commit comments

Comments
 (0)