Skip to content

Commit

Permalink
Include version of application in item "POI Version"
Browse files Browse the repository at this point in the history
  • Loading branch information
centic9 committed Apr 10, 2024
1 parent aa511a7 commit 2ee2740
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ private void setupContent() throws IOException {
}

DummyContent.addItem(new DummyItemWithCode("v" + (idCount++), "POI Version",
() -> "Apache " + Version.getProduct() + " " + Version.getVersion()));
() ->
"Apache " + Version.getProduct() + " " + Version.getVersion() + "\n" +
"App " + BuildConfig.VERSION_NAME + " - " + BuildConfig.VERSION_CODE));

DummyContent.addItem(new DummyItemWithCode("c" + (idCount++),
"DOCX with image",
Expand Down

0 comments on commit 2ee2740

Please sign in to comment.