兼容旧版 Textual
This commit is contained in:
@@ -229,8 +229,7 @@ class DashboardScreen(Screen):
|
||||
for file in nucleon_files:
|
||||
text = self.item_desc_generator(pathlib.Path(file))
|
||||
file_list_widget.append(ListItem(
|
||||
Label(text[0]),
|
||||
Label(text[1]),
|
||||
Label(text[0] + '\n' + text[1]),
|
||||
))
|
||||
else:
|
||||
file_list_widget.append(
|
||||
|
Reference in New Issue
Block a user