mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
Fix for send message from debug screen
This commit is contained in:
parent
c873312831
commit
b9249065eb
@ -785,7 +785,12 @@ public class HPlusSupport extends AbstractBTLEDeviceSupport {
|
|||||||
|
|
||||||
//replace unsupported symbols to english analog
|
//replace unsupported symbols to english analog
|
||||||
private String transliterate(String txt){
|
private String transliterate(String txt){
|
||||||
|
if (txt == null || txt.isEmpty()) {
|
||||||
|
return txt;
|
||||||
|
}
|
||||||
|
|
||||||
StringBuilder message = new StringBuilder();
|
StringBuilder message = new StringBuilder();
|
||||||
|
|
||||||
char[] chars = txt.toCharArray();
|
char[] chars = txt.toCharArray();
|
||||||
|
|
||||||
for (char c : chars)
|
for (char c : chars)
|
||||||
|
Loading…
Reference in New Issue
Block a user