private boolean updatedFromBefore(String version){
  return Version.compareVersions(settings.getString("currentVersion"),version) == 1;
}

private boolean updatedFromBefore ( String version ) { return Version . compareVersions ( settings . getString ( "currentVersion" ) , version ) == 1 ; }
checks whether the current version ( the version saved in the " currentversion " setting , which is overwritten with chatty . version on every start ) is smaller than the given one . this basicially means that if the user last used a version smaller than the given one , this returns true . usually the current version would be used if a new condition is added , to change a setting only on the switch to the given version .
