浏览代码

npe on meizu device

imndx 6 年之前
父节点
当前提交
8fbfacc918
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 0
      .gitignore
  2. 0 1
      chat/release/output.json
  3. 2 2
      chat/src/main/res/layout/channel_create_fragment.xml

+ 1 - 0
.gitignore

@@ -81,6 +81,7 @@ out/
 # Gradle files
 .gradle/
 build/
+release/
 
 # Local configuration file (sdk path, etc)
 local.properties

+ 0 - 1
chat/release/output.json

@@ -1 +0,0 @@
-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":6,"versionName":"0.4.3","enabled":true,"outputFile":"chat-release.apk","fullName":"release","baseName":"release"},"path":"chat-release.apk","properties":{}}]

+ 2 - 2
chat/src/main/res/layout/channel_create_fragment.xml

@@ -37,12 +37,12 @@
         android:layout_height="wrap_content"
         android:padding="20dp">
 
-        <com.google.android.material.textfield.TextInputEditText
+        <cn.wildfire.chat.kit.widget.FixedTextInputEditText
             android:id="@+id/channelDescTextInputEditText"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
-            android:maxLength="50"
             android:hint="频道描述"
+            android:maxLength="50"
             android:singleLine="true" />
     </com.google.android.material.textfield.TextInputLayout>