修改版本号
This commit is contained in:
@@ -74,6 +74,7 @@ class SettingActivity: BaseActivity<SettingViewModel, ActivitySettingBinding>(R.
|
|||||||
dialog?.show()
|
dialog?.show()
|
||||||
UpdateBuilder.create().setUpdateParser(object : UpdateParser() {
|
UpdateBuilder.create().setUpdateParser(object : UpdateParser() {
|
||||||
override fun parse(response: String?): Update {
|
override fun parse(response: String?): Update {
|
||||||
|
dialog?.dismiss()
|
||||||
val resultBean: AppUpdateBean? = response.jsonToBean(AppUpdateBean::class.java)
|
val resultBean: AppUpdateBean? = response.jsonToBean(AppUpdateBean::class.java)
|
||||||
val update = Update()
|
val update = Update()
|
||||||
if(resultBean == null){
|
if(resultBean == null){
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
android:text="@string/setting_privacy_policy"/>
|
android:text="@string/setting_privacy_policy"/>
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/rl_version_update"
|
android:id="@+id/rl_version_update"
|
||||||
android:background="@drawable/rectangle_bottom_gray_stroke_white"
|
android:background="@color/white"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
<TextView
|
<TextView
|
||||||
|
|||||||
+2
-2
@@ -2,8 +2,8 @@ ext {
|
|||||||
minSdkVersion = 21
|
minSdkVersion = 21
|
||||||
targetSdkVersion = 32
|
targetSdkVersion = 32
|
||||||
compileSdkVersion = 32
|
compileSdkVersion = 32
|
||||||
versionCode = 13
|
versionCode = 100
|
||||||
versionName = "1.0.23"
|
versionName = "1.0.0"
|
||||||
//Dependencies
|
//Dependencies
|
||||||
junitVersion = "4.12"
|
junitVersion = "4.12"
|
||||||
lifecycleVersion = "2.6.0-alpha01"
|
lifecycleVersion = "2.6.0-alpha01"
|
||||||
|
|||||||
Reference in New Issue
Block a user