mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-03-19 02:12:46 +01:00
cut sm_text in bluetooth ,infopage
This commit is contained in:
@@ -237,7 +237,9 @@ func (self *BleInfoPage) GenList() {
|
||||
sm_text = fmt.Sprintf("%v",v)
|
||||
}
|
||||
|
||||
|
||||
if len(sm_text) > 20 {
|
||||
sm_text = sm_text[:20]
|
||||
}
|
||||
li.SetSmallText(sm_text)
|
||||
li.PosX = 2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user