Browse Source

菜鸡太粗心大意了,修复添加任务清单界面点击返回键无响应bug

hegj 5 years ago
parent
commit
a16f66e5d7

+ 1 - 1
app/release/output.json

@@ -1 +1 @@
-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":2,"versionName":"1.0.1","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":3,"versionName":"1.0.3","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]

+ 0 - 1
app/src/main/AndroidManifest.xml

@@ -102,7 +102,6 @@
         <activity
             android:name="com.tencent.bugly.beta.ui.BetaActivity"
             android:configChanges="keyboardHidden|orientation|screenSize|locale"
-            android:label="第三方Bugly的配置界面"
             android:theme="@android:style/Theme.Translucent" /> <!-- Arms 配置 -->
         <meta-data
             android:name="design_width_in_dp"

+ 1 - 1
app/src/main/java/me/hegj/wandroid/mvp/ui/activity/todo/AddTodoActivity.kt

@@ -48,10 +48,10 @@ class AddTodoActivity : BaseActivity<AddTodoPresenter>(), AddTodoContract.View {
             todoResponse = getSerializableExtra("data") as TodoResponse?
         }
         toolbar.run {
+            setSupportActionBar(this)
             title = "添加待办清单"
             setNavigationIcon(R.drawable.ic_back)
             setNavigationOnClickListener { finish() }
-            setSupportActionBar(this)
         }
         if (todoResponse == null) {
             add_todo_colorview.setView(TodoType.TodoType1.color)

+ 2 - 2
config.gradle

@@ -5,8 +5,8 @@ ext {
             buildToolsVersion: "28.0.3",
             minSdkVersion    : 16,
             targetSdkVersion : 28,
-            versionCode      : 2,
-            versionName      : "1.0.1"
+            versionCode      : 3,
+            versionName      : "1.0.3"
     ]
 
     version = [