allow creation of private gist

This commit is contained in:
k0shk0sh 2019-12-26 10:23:47 +01:00
parent 059fbc9d75
commit 2c47203a05

View File

@ -69,10 +69,6 @@ public class CreateGistActivity extends BaseActivity<CreateGistMvp.View, CreateG
}
@OnClick(value = {R.id.createPublicGist, R.id.createSecretGist}) void onClick(View view) {
if (view.getId() == R.id.createSecretGist) {
ActivityHelper.startCustomTab(this, "https://blog.github.com/2018-02-18-deprecation-notice-removing-anonymous-gist-creation/");
return;
}
getPresenter().onSubmit(InputHelper.toString(description),
getFilesFragment().getFiles(), view.getId() == R.id.createPublicGist);
}