Skip to content

Commit

Permalink
fix typo, add new categories
Browse files Browse the repository at this point in the history
New categories:
- Magisk
- KernelSU
- Zygisk
- LSPosed
- Xposed
- Performance Optimization
- Battery Life
- Customization
- Audio Enhancements
- Security
- Camera Enhancements
- SystemUI Mods
- Tweaks and Hacks
- Modifications for Root Apps
- System Fonts and Emojis
- Miscellaneous
- ROM-Specific Modules
- Gamepad and Controller Support
- App Additions and Features
- Adblocking and Hosts Files
- Navigation Bar and Gesture Customization
- Advanced Audio Mods
- Custom Kernels
- Boot Animation
- Privacy Enhancements
  • Loading branch information
DerGoogler authored Oct 25, 2023
1 parent be5a06b commit b3a8fb5
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion Website/src/hooks/useCategories.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
export function useCategories(input?: arr<str>) {
const categories = ["Tools", "Boot", "Coding", "Configurable", "Manegment", "System", "Apps", "Gaming", "Other"];
const categories = [
"Tools",
"Boot",
"Coding",
"Configurable",
"Management",
"System",
"Apps",
"Gaming",
"Other",
// New categroies
"Magisk",
"KernelSU",
"Zygisk",
"LSPosed",
"Xposed",
"Performance Optimization",
"Battery Life",
"Customization",
"Audio Enhancements",
"Security",
"Camera Enhancements",
"SystemUI Mods",
"Tweaks and Hacks",
"Modifications for Root Apps",
"System Fonts and Emojis",
// Same as "Other"
"Miscellaneous",
"ROM-Specific Modules",
"Gamepad and Controller Support",
"App Additions and Features",
"Adblocking and Hosts Files",
"Navigation Bar and Gesture Customization",
"Advanced Audio Mods",
"Custom Kernels",
"Boot Animation",
"Privacy Enhancements"
];
if (input) {
return categories.filter((i) => input.indexOf(i) !== -1);
} else {
Expand Down

0 comments on commit b3a8fb5

Please sign in to comment.