Skip to content

Commit

Permalink
enhanced responsive UI with more user-friendly look, added logo for t…
Browse files Browse the repository at this point in the history
…he application and other UI design changes
  • Loading branch information
pradipmudi committed Dec 30, 2023
1 parent c80417d commit 6c623ff
Show file tree
Hide file tree
Showing 9 changed files with 437 additions and 221 deletions.
4 changes: 3 additions & 1 deletion src/main/java/com/expensys/constant/CategoryMappings.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ private CategoryMappings(){}
subCategories.add(Category.TRANSPORT);
subCategories.add(Category.SHOPPING);
subCategories.add(Category.ENTERTAINMENT);
subCategories.add(Category.INVESTMENTS);
subCategories.add(Category.RENT_AND_OTHER_BILLS);
subCategories.add(Category.OTHERS);
SUB_CATEGORIES = Collections.unmodifiableSet(subCategories);
Expand All @@ -42,11 +43,12 @@ private CategoryMappings(){}
subToMainCategoryMappings.put(Category.SHOPPING, Category.EXPENSE);
subToMainCategoryMappings.put(Category.OUTSIDE_FOOD, Category.EXPENSE);
subToMainCategoryMappings.put(Category.LOSE_OF_MONEY, Category.LOSE_OF_MONEY);
subToMainCategoryMappings.put(Category.OTHERS, Category.EXPENSE);
subToMainCategoryMappings.put(Category.ESSENTIAL, Category.ESSENTIAL);
subToMainCategoryMappings.put(Category.EXPENSE, Category.EXPENSE);
subToMainCategoryMappings.put(Category.ENTERTAINMENT, Category.EXPENSE);
subToMainCategoryMappings.put(Category.RENT_AND_OTHER_BILLS, Category.EXPENSE);
subToMainCategoryMappings.put(Category.INVESTMENTS, Category.ESSENTIAL);
subToMainCategoryMappings.put(Category.OTHERS, Category.EXPENSE);
SUB_TO_MAIN_CATEGORY_MAPPINGS = Collections.unmodifiableMap(subToMainCategoryMappings);
}
}
1 change: 1 addition & 0 deletions src/main/java/com/expensys/model/enums/Category.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public enum Category {
EXPENSE("expense"),
ENTERTAINMENT("entertainment"),
RENT_AND_OTHER_BILLS("rent and other bills"),
INVESTMENTS("investments"),
OTHERS("others");

private String cat;
Expand Down
Loading

0 comments on commit 6c623ff

Please sign in to comment.