Wear: fix direction arrow showing as emoticon

This commit is contained in:
Andries Smit 2021-12-16 22:27:37 +01:00
parent 3a9352b825
commit 30d500fa75
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ public class SgvComplication extends BaseComplicationProviderService {
switch (dataType) {
case ComplicationData.TYPE_SHORT_TEXT:
final ComplicationData.Builder builder = new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT)
.setShortText(ComplicationText.plainText(raw.sSgv + raw.sDirection))
.setShortText(ComplicationText.plainText(raw.sSgv + raw.sDirection + "\uFE0E"))
.setShortTitle(ComplicationText.plainText(displayFormat.shortTrend(raw)))
.setTapAction(complicationPendingIntent);

View file

@ -287,7 +287,7 @@ public abstract class BaseWatchFace extends WatchFace implements SharedPreferenc
if (mDirection != null) {
if (sharedPrefs.getBoolean("show_direction", true)) {
mDirection.setText(rawData.sDirection);
mDirection.setText(rawData.sDirection+"\uFE0E");
mDirection.setVisibility(View.VISIBLE);
} else {
mDirection.setVisibility(View.GONE);