mrgodhani/raven-reader

View on GitHub
src/mixins/setTheme.js

Summary

Maintainability
A
1 hr
Test Coverage

Function setTheme has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    setTheme (themeValue) {
      switch (themeValue) {
        case 'night':
          this.toggleBodyClass(true, 'app-nightmode')
          this.toggleBodyClass(false, 'app-sunsetmode')
Severity: Minor
Found in src/mixins/setTheme.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status