fix: remove folder page helper card
This commit is contained in:
@@ -253,12 +253,6 @@ public class ConversationFolderActivity extends BossScreenActivity {
|
||||
folderDeviceId = folder.optString("deviceId", folderDeviceId == null ? "" : folderDeviceId).trim();
|
||||
int threadCount = folder.optInt("threadCount", 0);
|
||||
configureScreen(resolvedFolderName, threadCount + " 个线程");
|
||||
appendContent(BossUi.buildSoftPanel(
|
||||
this,
|
||||
"项目内部线程页",
|
||||
resolvedFolderName,
|
||||
"点击线程后进入具体聊天窗口。"
|
||||
));
|
||||
|
||||
JSONArray threads = folder.optJSONArray("threads");
|
||||
updateTrackedProjectIds(threads);
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.hyzq.boss;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
import android.content.Intent;
|
||||
@@ -54,8 +55,8 @@ public class ConversationFolderActivityTest {
|
||||
assertEquals(View.GONE, refreshButton.getVisibility());
|
||||
assertEquals("Talking", String.valueOf(titleView.getText()));
|
||||
assertEquals("3 个线程", String.valueOf(subtitleView.getText()));
|
||||
assertTrue(viewTreeContainsText(content, "Talking"));
|
||||
assertTrue(viewTreeContainsText(content, "项目内部线程页"));
|
||||
assertFalse("项目抽屉页不应展示冗余说明卡片标题", viewTreeContainsText(content, "项目内部线程页"));
|
||||
assertFalse("项目抽屉页不应展示冗余说明卡片文案", viewTreeContainsText(content, "点击线程后进入具体聊天窗口。"));
|
||||
|
||||
ReflectionHelpers.callInstanceMethod(activity, "showMoreMenu");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user