Skip to content

Commit

Permalink
fix display on indicators per implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
lindagcaba committed Oct 17, 2022
1 parent a95564c commit 8521c73
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ protected void onPostExecute(IndicatorDetails indicatorDetails) {
} else if(BuildConfig.BUILD_COUNTRY == Country.NIGERIA) {
tempTableLayoutView.setVisibility(View.GONE);
tableView.setVisibility(View.GONE);
tempTableLayoutViewKenya.setVisibility(View.GONE);
populateTableView(getTableRowsNigeria(),indicatorDetails.getSprayIndicatorList(),tempTableLayoutViewNG);
} else if(BuildConfig.BUILD_COUNTRY == Country.KENYA){
tempTableLayoutView.setVisibility(View.GONE);
Expand All @@ -157,6 +158,7 @@ protected void onPostExecute(IndicatorDetails indicatorDetails) {
} else {
tempTableLayoutView.setVisibility(View.GONE);
tempTableLayoutViewNG.setVisibility(View.GONE);
tempTableLayoutViewKenya.setVisibility(View.GONE);
tableView.setTableData(Arrays.asList(new String[]{this.activity.getString(R.string.indicator), this.activity.getString(R.string.value)}), indicatorDetails.getSprayIndicatorList());
}

Expand Down

0 comments on commit 8521c73

Please sign in to comment.