Skip to content
This repository was archived by the owner on Jun 20, 2021. It is now read-only.

Commit 952f96d

Browse files
Update versioning
Signed-off-by: sunilpaulmathew <sunil.kde@gmail.com>
1 parent fcd3d06 commit 952f96d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ android {
1919
minSdkVersion 23
2020
targetSdkVersion 30
2121
versionCode 42
22-
versionName "5.1"
22+
versionName "v5.1"
2323
vectorDrawables.useSupportLibrary = true
2424
archivesBaseName = "$applicationId-v$versionName"
2525
signingConfig signingConfigs.release

app/src/main/java/com/smartpack/smartflasher/fragments/AboutFragment.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container,
6262
View mRootView = inflater.inflate(R.layout.fragment_about, container, false);
6363

6464
mData.clear();
65-
mData.add(new RecycleViewItem(getString(R.string.version), "v" + BuildConfig.VERSION_NAME, getResources().getDrawable(R.drawable.ic_info), null));
65+
mData.add(new RecycleViewItem(getString(R.string.version), BuildConfig.VERSION_NAME, getResources().getDrawable(R.drawable.ic_info), null));
6666
mData.add(new RecycleViewItem(getString(R.string.change_logs), getString(R.string.change_logs_summary), getResources().getDrawable(R.drawable.ic_eye), null));
6767
mData.add(new RecycleViewItem(getString(R.string.support), getString(R.string.support_summary), getResources().getDrawable(R.drawable.ic_support), "https://t.me/smartpack_kmanager"));
6868
mData.add(new RecycleViewItem(getString(R.string.source_code), getString(R.string.source_code_summary), getResources().getDrawable(R.drawable.ic_github), "https://github.com/SmartPack/SmartFlasher"));
@@ -94,7 +94,7 @@ public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container,
9494
Intent shareapp = new Intent();
9595
shareapp.setAction(Intent.ACTION_SEND);
9696
shareapp.putExtra(Intent.EXTRA_SUBJECT, getString(R.string.app_name));
97-
shareapp.putExtra(Intent.EXTRA_TEXT, getString(R.string.share_app_message, "v" + BuildConfig.VERSION_NAME));
97+
shareapp.putExtra(Intent.EXTRA_TEXT, getString(R.string.share_app_message, BuildConfig.VERSION_NAME));
9898
shareapp.setType("text/plain");
9999
Intent shareIntent = Intent.createChooser(shareapp, null);
100100
startActivity(shareIntent);

0 commit comments

Comments
 (0)