diff options
author | Josh Torres <torres.josh.j@gmail.com> | 2021-09-06 14:33:47 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-09-07 08:51:40 -0700 |
commit | dcf1188a3b243bf0583278dc34db707d8883ec2f (patch) | |
tree | 73a205b07aa298648b4e8230342c2a78abc51770 | |
parent | da6eb9d9472002376e98414945131f3ec542b181 (diff) | |
download | subsurface-dcf1188a3b243bf0583278dc34db707d8883ec2f.tar.gz |
Support rich text on mobile notes field
When viewing dives on mobile the notes field does not support rich
text. User formatting, output from the planning feature, etc will
render html as plain text.
Adding qml tag to support rich text
Signed-off-by: Josh Torres <torres.josh.j@gmail.com>
-rw-r--r-- | mobile-widgets/qml/DiveDetailsView.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml index fa0ebfb3f..3c726944a 100644 --- a/mobile-widgets/qml/DiveDetailsView.qml +++ b/mobile-widgets/qml/DiveDetailsView.qml @@ -577,6 +577,7 @@ Item { Layout.fillWidth: true wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere color: subsurfaceTheme.textColor + textFormat: Text.RichText } Item { Layout.columnSpan: 3 |