Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_android_sdk_maven_plugin
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Panagiotis Triantafyllou
2025-01-21 18:30:49 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1f281ee410ecd504990088c4f813dc5e00627225
1f281ee4
1 parent
dd53076f
sm pass crash fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
warply_android_sdk/src/main/java/ly/warp/sdk/activities/MarketPassActivity.java
warply_android_sdk/src/main/java/ly/warp/sdk/activities/MarketPassActivity.java
View file @
1f281ee
...
...
@@ -57,7 +57,7 @@ public class MarketPassActivity extends Activity implements View.OnClickListener
private
TextView
mFontHeader
,
mPassHeader
,
mPassSubtitle
,
mTvBarcode
,
mTvPassCount
,
mTvButtonMap
;
private
LinearLayout
mLlMap
,
mLlParentLogosView
;
private
boolean
mMapPressed
=
false
,
mPassInfoPressed
=
false
;
private
MarketPassDetailsModel
mMarketPassDetails
=
new
MarketPassDetailsModel
()
;
private
MarketPassDetailsModel
mMarketPassDetails
;
private
RelativeLayout
mPbLoading
;
private
AlertDialog
mAlertDialog
;
private
CardView
mCvMarketDetails
;
...
...
@@ -156,7 +156,7 @@ public class MarketPassActivity extends Activity implements View.OnClickListener
sBuilder
.
append
(
String
.
format
(
getString
(
R
.
string
.
cos_market_pass_coupons_title
),
String
.
valueOf
(
mMarketPassDetails
.
getTotalDiscount
())));
Typeface
typefaceBold
=
ResourcesCompat
.
getFont
(
this
,
R
.
font
.
peridot_bold
);
CustomTypefaceSpan
typefaceBoldSpan
=
new
CustomTypefaceSpan
(
typefaceBold
);
sBuilder
.
setSpan
(
typefaceBoldSpan
,
31
,
31
+
passValue
.
length
()
+
1
,
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
sBuilder
.
setSpan
(
typefaceBoldSpan
,
29
,
30
+
passValue
.
length
()
+
1
,
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
mTvPassCount
.
setText
(
sBuilder
,
TextView
.
BufferType
.
SPANNABLE
);
}
...
...
Please
register
or
login
to post a comment