Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Finish activity instead of opening a new one
Browse files Browse the repository at this point in the history
Signed-off-by: micrusa <[email protected]>
  • Loading branch information
micrusa committed Apr 23, 2020
1 parent cf72d3e commit 714df47
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ public void onClick(View v) {
editBtn = new OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(v.getContext(), PresetsActivity.class);
v.getContext().startActivity(intent);
finish();
}
};
}
Expand Down

0 comments on commit 714df47

Please sign in to comment.