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-24 10:42:38 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7d8e7d5833a248a9ff224aba04d357e25b0aaf0b
7d8e7d58
1 parent
89912cf4
minor fix and new version
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
warply_android_sdk/build.gradle
warply_android_sdk/src/main/java/ly/warp/sdk/activities/MarketPassActivity.java
warply_android_sdk/build.gradle
View file @
7d8e7d5
...
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
ext
{
PUBLISH_GROUP_ID
=
'ly.warp'
PUBLISH_VERSION
=
'4.5.5.4r4
2
'
PUBLISH_VERSION
=
'4.5.5.4r4
3
'
PUBLISH_ARTIFACT_ID
=
'warply-android-sdk'
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/activities/MarketPassActivity.java
View file @
7d8e7d5
...
...
@@ -153,7 +153,7 @@ public class MarketPassActivity extends Activity implements View.OnClickListener
createBarcodeBitmap
(
WarplyManagerHelper
.
getMarketPassDetails
().
getBarcode
());
// if (mMarketPassDetails != null) {
String
passValue
=
String
.
format
(
Locale
.
GERMAN
,
"%.2f"
,
WarplyManagerHelper
.
getMarketPassDetails
().
getTotalDiscount
());
String
passValue
=
String
.
format
(
Locale
.
US
,
"%.2f"
,
WarplyManagerHelper
.
getMarketPassDetails
().
getTotalDiscount
());
String
fullText
=
String
.
format
(
getString
(
R
.
string
.
cos_market_pass_coupons_title
),
passValue
);
int
startIndex
=
fullText
.
indexOf
(
passValue
);
int
endIndex
=
startIndex
+
passValue
.
length
();
...
...
Please
register
or
login
to post a comment