Browse Source

PDFTool(Android) - bug修复

liuxiaolong 1 year ago
parent
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());
         btnAdd.setOnClickListener(v -> {
             if (enableInputEmptyContent){
-                String title = editText.getText().toString().trim();
+                String title = editText.getText().toString();
                 if (editListener != null) {
                     editListener.edit(title);
                 }