Skip to content

Added Default Currency Choice in the Setting#3044

Open
Selinaliu1030 wants to merge 1 commit intoCatimaLoyalty:mainfrom
DD2480-Group15:main
Open

Added Default Currency Choice in the Setting#3044
Selinaliu1030 wants to merge 1 commit intoCatimaLoyalty:mainfrom
DD2480-Group15:main

Conversation

@Selinaliu1030
Copy link

Implements #2886

Key changes summary:

  1. Added a new section "Card creation" in the Setting page
  2. Added an entry "Default currency type" with a dropdown menu to choose from
  3. Added a get method in Setting.java to get the value of selected default currency type
  4. Set the currency type value to selected default in LoyaltyCardEditActivity::onCreate()
  5. Added Unit tests and integration tests for the feature

Note: The PR has passed all the existing tests and newly added tests

Key changes summary: 
1. Added a new section "Card creation" in the Setting page 
2. Added an entry "Default currency type" with a dropdown menu to choose from 
3. Added a get method in Setting.java to get the value of selected default currency type
4. Set the currency type value to selected default in LoyaltyCardEditActivity::onCreate()
5. Added Unit tests and integration tests for the feature

Note: The PR has passed all the existing tests and newly added tests
---------

Co-authored-by: Rasmus Sjöberg <rasmus.sjoberg15@gmail.com>
Co-authored-by: filippaco <filippacolsson@gmail.com>
Co-authored-by: Jacob F <jcbfrdrch@gmail.com>
Co-authored-by: etisell <etisell@kth.se>
Co-authored-by: Emma Tisell <89631117+Emmex03@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant