Changeset 58a545d


Ignore:
Timestamp:
Aug 7, 2012 11:08:37 PM (8 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
93efd31
Parents:
dfb0b78
Message:

Snark: explicitly check if universal theme is "classic", and use "light" if so

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/SnarkManager.java

    rdfb0b78 r58a545d  
    315315            }
    316316            if (!themeExists) {
    317                 theme = DEFAULT_THEME;
     317                // Since the default is not "light", explicitly check if universal theme is "classic"
     318                if (theme.equals("classic")
     319                    theme = "light";
     320                else
     321                    theme = DEFAULT_THEME;
    318322                _config.setProperty(PROP_THEME, DEFAULT_THEME);
    319323            }
Note: See TracChangeset for help on using the changeset viewer.