Commit 5a80001a by Lee Jaebin

作業追加区分が無しの場合、定期点検以外の条件追加(ヘルプボタン表示・非表示処理)

parent 05589497
...@@ -189,8 +189,8 @@ public class ParentWebViewActivity extends ABVContentViewActivity { ...@@ -189,8 +189,8 @@ public class ParentWebViewActivity extends ABVContentViewActivity {
addSceneButton.setVisibility(View.GONE); addSceneButton.setVisibility(View.GONE);
taskListButton.setVisibility(View.GONE); taskListButton.setVisibility(View.GONE);
} else { } else {
if (mOperationType == OperationType.LIST && operationDto.enableAddReport == Constant.EnableAddReport.NO) { if (mOperationType == OperationType.LIST && operationDto.reportType != Constant.ReportType.RoutineTask && operationDto.enableAddReport == Constant.EnableAddReport.NO) {
// リストタイプ且つ作業追加区分が無しの場合、ヘルプボタンを非表示 // リストタイプ且つ報告タイプが定期点検以外で作業追加区分が無しの場合、ヘルプボタンを非表示
helpButton.setVisibility(View.INVISIBLE); helpButton.setVisibility(View.INVISIBLE);
} else { } else {
helpButton.setVisibility(View.VISIBLE); helpButton.setVisibility(View.VISIBLE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment