Skip to content

Commit

Permalink
tried to make this better
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeMC2610 committed Mar 30, 2023
1 parent e5bbadc commit 9aefeca
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ public void OnButtonAddClicked(View v)
// proceed to add properties.
DatabaseManager.getInstance(null).AddRecord(liters, cost, kilometers, date, editTextPetrolType.getText().toString());
Toast.makeText(this, getString(R.string.toast_record_added), Toast.LENGTH_LONG).show();

finish();
}

public void OnEditTextDateTimeClicked(View v)
Expand Down

0 comments on commit 9aefeca

Please sign in to comment.