Skip to content

Commit 605cf5e

Browse files
Merge pull request #251 from alley-rs/dev
2 parents 8425096 + 5f21f03 commit 605cf5e

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/components/result/Links/index.css.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ export const itemLinkContainer = style({
2020
justifyContent: "start",
2121
overflow: "hidden",
2222
whiteSpace: "nowrap",
23+
textOverflow: "ellipsis",
2324
});
2425

2526
export const itemLink = style({
26-
textOverflow: "ellipsis",
2727
maxWidth: "100%",
2828
});
2929

src/components/settings/index.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ const Settings = () => {
2727
createEffect(() => showSettings() && setLsarConfig(defaultConfig()));
2828

2929
createEffect(async () => {
30-
console.log(lsarConfig());
3130
if (!defaultConfig() || defaultConfig()?.player.path !== "") return;
3231

3332
const paths = await getPlayerPaths();
@@ -38,11 +37,11 @@ const Settings = () => {
3837
prev && {
3938
...prev,
4039
player: { path: paths[0], args: [] },
41-
},
40+
}
4241
);
4342

4443
toast.success(
45-
"已自动选择播放器,如果此播放器不是你想使用的播放器,请点击“重新选择”按钮自行选择",
44+
"已自动选择播放器,如果此播放器不是你想使用的播放器,请点击“重新选择”按钮自行选择"
4645
);
4746
});
4847

@@ -84,7 +83,7 @@ const Settings = () => {
8483
prev && {
8584
...prev,
8685
dark_mode: mode,
87-
},
86+
}
8887
)
8988
}
9089
/>
@@ -97,7 +96,7 @@ const Settings = () => {
9796
prev && {
9897
...prev,
9998
player: { ...prev.player, path },
100-
},
99+
}
101100
)
102101
}
103102
/>
@@ -110,7 +109,7 @@ const Settings = () => {
110109
prev && {
111110
...prev,
112111
platform: { ...prev.platform, bilibili: { cookie } },
113-
},
112+
}
114113
)
115114
}
116115
/>

0 commit comments

Comments
 (0)