{"push_id":2726151063,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"6b964bc842c7d3345e2c4ec39688082858bcb2bd","before":"0870e8490c6962f2343914de9e701cee8b8f5ca0","commits":[{"sha":"6b964bc842c7d3345e2c4ec39688082858bcb2bd","author":{"name":"rob","email":"d4ad328b3486d2585e1795ab7f181dbcfb8afe53@gmail.com"},"message":"Hiding the Delete Menu Option for the EditorActivity when in New Pets mode\n\nimport android.util.Log;\nimport static eu.id2go.pets.data.PetProvider.LOG_TAG;\n\n @Override\n    public boolean onPrepareOptionsMenu(Menu menu) {\n        super.onPrepareOptionsMenu(menu);\n        // If this is a new pet, hide the \"Delete\" menu item.\n        if (mCurrentPetUri == null) {\n            Log.e(LOG_TAG, \"onPrepareOptionsMenu setting delete button visibility false\");\n            MenuItem menuItem = menu.findItem(R.id.action_delete);\n            menuItem.setVisible(false);\n        }\n        return true;\n    }\n\n                    Log.e(LOG_TAG, \"Warning unsaved changes to be discarded\");","distinct":true,"url":"https://api.github.com/repos/ID2GO/ABNDPets/commits/6b964bc842c7d3345e2c4ec39688082858bcb2bd"}]}
{"actor":{"display_login":"ID2GO"}}