Prechádzať zdrojové kódy

PDFTool(Android) - bug修复

liuxiaolong 1 rok pred
rodič
commit
9badf523e1

+ 1 - 1
ComPDFKit_Tools/src/main/java/com/compdfkit/tools/common/utils/dialog/CEditDialog.java

@@ -110,7 +110,7 @@ public class CEditDialog extends DialogFragment {
         btnCancel.setOnClickListener(v -> dismiss());
         btnCancel.setOnClickListener(v -> dismiss());
         btnAdd.setOnClickListener(v -> {
         btnAdd.setOnClickListener(v -> {
             if (enableInputEmptyContent){
             if (enableInputEmptyContent){
-                String title = editText.getText().toString().trim();
+                String title = editText.getText().toString();
                 if (editListener != null) {
                 if (editListener != null) {
                     editListener.edit(title);
                     editListener.edit(title);
                 }
                 }