Skip to content

Commit

Permalink
Fixed showing multiline features
Browse files Browse the repository at this point in the history
  • Loading branch information
iiLubos committed Sep 12, 2023
1 parent f62d288 commit 7416277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/qml/layers/FeaturesListPageV2.qml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Page {

color: InputStyle.fontColor
font.bold: true
text: model.display
text: model.display.replace(/\n/g, ' ')

font.pixelSize: InputStyle.fontPixelSizeNormal

Expand All @@ -100,7 +100,7 @@ Page {
Layout.fillWidth: true

color: InputStyle.secondaryFontColor
text: model.Description + ( model.SearchResult ? ", " + model.SearchResult.substring(0, model.SearchResult.indexOf("\n")) : "" )
text: model.Description + ( model.SearchResult ? ", " + model.SearchResult.replace(/\n/g, ' ') : "" )

font.pixelSize: InputStyle.fontPixelSizeSmall

Expand Down

1 comment on commit 7416277

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS - version 23.09.455611 just submitted!

Please sign in to comment.