mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-04 10:09:42 +00:00
Removed hardcoded "°"
Removed hardcoded ‚°‘ and replaced it with unicode value.
This commit is contained in:
1 parent
ecc7f7bbd8
commit
700fe7a658
1 file changed
+1
-1
+1
-1
@@ -24,7 +24,7 @@ public class CompassFragment extends BaseFragment {
|
|||||||
if (isAdded())
|
if (isAdded())
|
||||||
{
|
{
|
||||||
TextView headingText = (TextView) getActivity().findViewById(R.id.compass_bearing_text_view);
|
TextView headingText = (TextView) getActivity().findViewById(R.id.compass_bearing_text_view);
|
||||||
headingText.setText(String.valueOf(Math.round(heading)) + "°");
|
headingText.setText(String.valueOf(Math.round(heading)) + (char) 0x00B0 );
|
||||||
|
|
||||||
TrackingActivity activity = (TrackingActivity) getActivity();
|
TrackingActivity activity = (TrackingActivity) getActivity();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user