fix: 2 issues analysed by SonarQube

zhengkunpeng_branch
zkx 2 years ago
parent 5bfd09dfd0
commit b58a8faa0f

@ -94,7 +94,7 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
private enum ListEditState {
NOTE_LIST, SUB_FOLDER, CALL_RECORD_FOLDER, TRASH_FOLDER
}; //NOTE: 三种编辑状态@zhoukexing 2024/1/2 19:31 新增一个
} //NOTE: 三种编辑状态@zhoukexing 2024/1/2 19:31 新增一个
private ListEditState mState;
@ -376,7 +376,7 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
/**
* Minus TitleBar's height
*/
if (mState == ListEditState.SUB_FOLDER |
if (mState == ListEditState.SUB_FOLDER ||
mState == ListEditState.TRASH_FOLDER) {
// 回收站的ui显示 @zkx
eventY -= mTitleBar.getHeight();

Loading…
Cancel
Save