Refactored the `setNightMode` function to remove the unused `Context` parameter. Changes: - Eliminated the `context` parameter from the `setNightMode` function. - Adjusted function signature to align with the current implementation, which does not utilize the `Context`. This simplifies the function interface and ensures cleaner, more maintainable code.