summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-08-17 19:54:39 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-08-19 20:15:21 +0800
commita24a948b2f36301520abfffc4d4504e8ab6b9a05 (patch)
treeac8bb12379335ba7291207d8d0f9ef92ef84bc35
parente02e8484ccc6e3b27c4808d353f49993ed588a84 (diff)
clip: trim preview text
-rw-r--r--launcher/components/Clip.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/components/Clip.qml b/launcher/components/Clip.qml
index b9bd610..e14eae2 100644
--- a/launcher/components/Clip.qml
+++ b/launcher/components/Clip.qml
@@ -180,7 +180,7 @@ IComponent {
width: preview.width
color: Colors.foreground1
selectionColor: Colors.background3
- text: clipHist[selectedIndex]?.decoded || ""
+ text: clipHist[selectedIndex]?.decoded.trim() || ""
}
property Component img: Image {
id: image