AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Optimizing if statements for focus mode comparison
When working with if statements, it's important to make sure you're getting the right information. For example, when comparing focus modes, you want the title of the mode, not the mode itself. It's also best to avoid nesting ifs, as it can make the shortcut difficult to navigate and read. Having a switch case option would be a great addition to the shortcuts team's features.