1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Desktop: Remove unnecessary PDF viewer messages

This commit is contained in:
Laurent Cozic 2022-10-26 16:04:08 +01:00
parent 5b80fbc543
commit db4c6eaa6d
4 changed files with 4 additions and 6 deletions

View File

@ -66,7 +66,7 @@ export default function FullViewer(props: FullViewerProps) {
if (!pdfDocument) {
return (
<div className="full-app loading">
<div>Loading pdf..</div>
<div></div>
</div>);
}

View File

@ -108,7 +108,7 @@ export default function VerticalPages(props: VerticalPagesProps) {
onDoubleClick={props.onDoubleClick}
isDarkTheme={props.isDarkTheme} scaledSize={scaledSize} container={props.container} key={i} />;
}
) : 'Calculating size...'
) : ''
}
</PagesHolder>);
}

View File

@ -1,7 +1,5 @@
<div id="pdf-root">
<div id="splash-screen">
Loading PDF...
</div>
<div id="splash-screen"></div>
</div>
<style>
#pdf-root {

View File

@ -35,7 +35,7 @@ export default function MiniViewerApp(props: MiniViewerAppProps) {
if (!pdfDocument) {
return (
<div className="mini-app loading">
<div>Loading pdf..</div>
<div></div>
</div>);
}