Skip to content

Commit 3645405

Browse files
committed
bump version
Signed-off-by: starry69 <[email protected]>
1 parent d8edad3 commit 3645405

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ android {
1212
applicationId "com.starry.greenstash"
1313
minSdk 24
1414
targetSdk 32
15-
versionCode 7
16-
versionName "1.6"
15+
versionCode 8
16+
versionName "1.7"
1717

1818
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1919
javaCompileOptions {

app/src/main/java/com/starry/greenstash/ui/fragments/AboutFragment.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import android.view.Menu
3232
import android.view.View
3333
import android.view.ViewGroup
3434
import androidx.fragment.app.Fragment
35+
import com.starry.greenstash.BuildConfig
3536
import com.starry.greenstash.databinding.FragmentAboutBinding
3637

3738

@@ -57,6 +58,7 @@ class AboutFragment : Fragment() {
5758

5859
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
5960
super.onViewCreated(view, savedInstanceState)
61+
binding.tvAppVersion.text = "Version ${BuildConfig.VERSION_NAME}"
6062
binding.telegramButton.setOnClickListener { startUrlActivity(telegramURL) }
6163
binding.githubButton.setOnClickListener { startUrlActivity(githubURL) }
6264
binding.twitterButton.setOnClickListener { startUrlActivity(twitterURL) }

app/src/main/res/layout/fragment_about.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@
7777
tools:ignore="InefficientWeight" />
7878

7979
<TextView
80+
android:id="@+id/tvAppVersion"
8081
android:layout_width="wrap_content"
8182
android:layout_height="wrap_content"
8283
android:layout_gravity="center_horizontal|center_vertical|bottom"
8384
android:layout_marginBottom="10dp"
84-
android:text="Version 1.6"
85-
android:textStyle="bold"
86-
tools:ignore="HardcodedText" />
85+
tools:text="Version 1.0"
86+
android:textStyle="bold" />
8787

8888

8989
<TextView

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<resources xmlns:tools="http://schemas.android.com/tools">
1+
<resources>
22
<string name="app_name">GreenStash</string>
33
<string name="welcome">Welcome!</string>
44
<string name="action_settings">Settings</string>
@@ -121,7 +121,4 @@
121121
<string name="license_perf_summary">Show open source license information.</string>
122122
<string name="about_perf_title">App Information</string>
123123
<string name="about_perf_summary">Show app version and developer information.</string>
124-
125-
<!-- Don't translate this, for sample use only -->
126-
<string name="lorem_ipsum" tools:ignore="MissingTranslation">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</string>
127124
</resources>

0 commit comments

Comments
 (0)