mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2025-12-08 19:05:54 +00:00
allow creation of private gist
This commit is contained in:
parent
059fbc9d75
commit
2c47203a05
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user