One more time, getting the title default right

This commit is contained in:
Joe Bowser 2012-06-15 15:37:38 -07:00
parent f60049f713
commit 451afabfbb

View File

@ -256,7 +256,7 @@ public class DroidGap extends Activity implements CordovaInterface {
LOG.d(TAG, "DroidGap.onCreate()"); LOG.d(TAG, "DroidGap.onCreate()");
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
if(this.getBooleanProperty("showTitle", false)) if(!this.getBooleanProperty("showTitle", false))
{ {
getWindow().requestFeature(Window.FEATURE_NO_TITLE); getWindow().requestFeature(Window.FEATURE_NO_TITLE);
} }