2
0

Better scope preferences to the algorithm & clean up.

This commit is contained in:
Maarten Billemont
2018-04-25 21:50:17 -04:00
parent c115e9149c
commit 40a807c6af
15 changed files with 90 additions and 112 deletions

View File

@@ -148,7 +148,7 @@ public final class Preferences {
@Nonnull
public MPResultType getDefaultResultType() {
return MPResultType.values()[prefs().getInt( PREF_RESULT_TYPE, MPResultType.DEFAULT.ordinal() )];
return MPResultType.values()[prefs().getInt( PREF_RESULT_TYPE, MPAlgorithm.mpw_default_type.ordinal() )];
}
public boolean setDefaultVersion(final MPMasterKey.Version value) {