mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-19 22:01:12 +00:00
Fix changelog spacing
This commit is contained in:
parent
f398366246
commit
4542225c3f
|
@ -24,7 +24,7 @@ public class UpdateAvailableAlert {
|
|||
alert.setAlertType(Alert.AlertType.NONE);
|
||||
|
||||
var markdown = new MarkdownComp(u.getBody() != null ? u.getBody() : "", s -> {
|
||||
var header = "<h1>" + AppI18n.get("whatsNew", u.getVersion()) + "</h1>";
|
||||
var header = " <h1>" + AppI18n.get("whatsNew", u.getVersion()) + "</h1>";
|
||||
return header + s;
|
||||
})
|
||||
.createRegion();
|
||||
|
|
|
@ -36,7 +36,7 @@ public class UpdateChangelogAlert {
|
|||
alert.initModality(Modality.NONE);
|
||||
|
||||
var markdown = new MarkdownComp(update.getRawDescription(), s -> {
|
||||
var header = "<h1>" + AppI18n.get("whatsNew", update.getName()) + "</h1>";
|
||||
var header = " <h1>" + AppI18n.get("whatsNew", update.getName()) + "</h1>";
|
||||
return header + s;
|
||||
})
|
||||
.createRegion();
|
||||
|
|
Loading…
Reference in a new issue