Skip to content

Commit

Permalink
Merge pull request openMF#1340 from Prashant830/Fix#1198
Browse files Browse the repository at this point in the history
Fixed Issue No openMF#1198 Does not show client details.
  • Loading branch information
devansh-299 authored Aug 20, 2022
2 parents 8a53588 + 526a7db commit ccbbdf9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
public interface BaseHomeContract {

interface BaseHomeView extends BaseView<BaseHomePresenter> {

void showClientDetails(Client client);
}

interface BaseHomePresenter extends BasePresenter {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ public void fetchClientDetails() {
@Override
public void onSuccess(FetchClientData.ResponseValue response) {
localRepository.saveClientData(response.getUserDetails());
if (!response.getUserDetails().getName().equals("")) {
mHomeView.showClientDetails(response.getUserDetails());
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,6 @@ public void setPresenter(BaseHomeContract.BaseHomePresenter presenter) {
mHomePresenter = presenter;
}

@Override
public void showClientDetails(Client client) {
// tvUserName.setText(client.getName());
// TextDrawable drawable = TextDrawable.builder()
// .buildRound(client.getName().substring(0, 1), R.color.colorPrimary);
// ivUserImage.setImageDrawable(drawable);
}

@Override
public void onBackPressed() {
Fragment fragment = getSupportFragmentManager()
Expand Down

0 comments on commit ccbbdf9

Please sign in to comment.