set title when cloning/editing the server info

This commit is contained in:
zeapo 2015-01-04 21:47:38 +01:00
parent 1c2b000847
commit 6922652173
2 changed files with 2 additions and 1 deletions

View file

@ -79,6 +79,7 @@ public class GitActivity extends ActionBarActivity {
case REQUEST_CLONE: case REQUEST_CLONE:
case EDIT_SERVER: case EDIT_SERVER:
setContentView(R.layout.activity_git_clone); setContentView(R.layout.activity_git_clone);
setTitle(R.string.title_activity_git_clone);
final Spinner protcol_spinner = (Spinner) findViewById(R.id.clone_protocol); final Spinner protcol_spinner = (Spinner) findViewById(R.id.clone_protocol);
final Spinner connection_mode_spinner = (Spinner) findViewById(R.id.connection_mode); final Spinner connection_mode_spinner = (Spinner) findViewById(R.id.connection_mode);

View file

@ -12,7 +12,7 @@
<string name="dialog_delete_msg">Target directory already exist. Current version support only a single store. Do you want to delete the current password store directory?</string> <string name="dialog_delete_msg">Target directory already exist. Current version support only a single store. Do you want to delete the current password store directory?</string>
<string name="dialog_delete">Delete directory</string> <string name="dialog_delete">Delete directory</string>
<string name="dialog_do_not_delete">Cancel</string> <string name="dialog_do_not_delete">Cancel</string>
<string name="title_activity_git_clone">Clone repository</string> <string name="title_activity_git_clone">Repository information</string>
<!-- Password Store --> <!-- Password Store -->
<string name="creation_dialog_text">Please clone or create a new repository below before trying to add a password or any synchronization operation.</string> <string name="creation_dialog_text">Please clone or create a new repository below before trying to add a password or any synchronization operation.</string>