Show uninstall button for updatable extension

fixes #1042
This commit is contained in:
schroda
2025-12-23 04:03:14 +01:00
parent 8da12f7a6e
commit 04cdfafe31
2 changed files with 5 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- (**Reader**) Fix current page detection in continuous horizontal mode with right-to-left reading mode
- (**Reader**) Fix occasionally jumping to random pages in continuous reading modes
- (**Extension**) Fix handling obsolete extensions as updatable in case they are marked as having an available update
- (**Extension**) Fix being unable to uninstall an extension that can be updated
- (**Theme**) Fix loading of fonts defined in themes
- (**Reader**) Fix broken scrolling in continuous horizontal reading mode

View File

@@ -78,7 +78,10 @@ export const ExtensionInfo = () => {
<Stack sx={{ gap: 2 }}>
<Header {...extension} />
<Meta {...extension} />
<ActionButton {...extension} />
<Stack sx={{ flexDirection: 'row' }}>
<ActionButton {...{ ...extension, isInstalled: true, hasUpdate: false }} />
{extension.hasUpdate && <ActionButton {...extension} />}
</Stack>
<Box sx={{ px: 1 }}>
{sources.map((source) => (
<SourceCard key={source.id} {...source} />