private void checkForVersionChange(){
  String currentVersion=settings.getString("currentVersion");
  if (!currentVersion.equals(Chatty.VERSION)) {
    settings.setString("currentVersion",Chatty.VERSION);
    settings.setString("updateAvailable","");
    g.openReleaseInfo();
  }
}

private void checkForVersionChange ( ) { String currentVersion = settings . getString ( "currentVersion" ) ; if ( ! currentVersion . equals ( Chatty . VERSION ) ) { settings . setString ( "currentVersion" , Chatty . VERSION ) ; settings . setString ( "updateAvailable" , "" ) ; g . openReleaseInfo ( ) ; } }
check if the current version ( chatty . version ) is different from the " currentversion " in the settings , which means a different version is being run compared to the last time . if a new version is detected , updates the " currentversion " setting , clears the " updateavailable " setting and opens the release info .
