fix: light mode visibility for filepath in /undo diff files (#5352)

This commit is contained in:
Koichi Nakayamada 2025-12-10 17:38:14 -08:00 committed by GitHub
parent 01fd0d8209
commit 499ad4f84b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -894,7 +894,7 @@ export function Session() {
<box marginTop={1}>
<For each={revert()!.diffFiles}>
{(file) => (
<text>
<text fg={theme.text}>
{file.filename}
<Show when={file.additions > 0}>
<span style={{ fg: theme.diffAdded }}> +{file.additions}</span>