mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 05:48:09 +00:00
save port number after save and close the activity
This commit is contained in:
parent
2022cf3d6e
commit
dd5c396b0d
@ -413,8 +413,8 @@ public class GitActivity extends AppCompatActivity {
|
||||
editor.putString("git_remote_username", ((EditText) findViewById(R.id.server_user)).getText().toString());
|
||||
editor.putString("git_remote_protocol", protocol);
|
||||
editor.putString("git_remote_auth", connectionMode);
|
||||
editor.putString("git_remote_port", port);
|
||||
editor.commit();
|
||||
editor.putString("git_remote_port", ((EditText) findViewById(R.id.server_port)).getText().toString());
|
||||
editor.apply();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -425,6 +425,7 @@ public class GitActivity extends AppCompatActivity {
|
||||
public void saveConfiguration(View view) {
|
||||
saveConfiguration();
|
||||
PasswordRepository.addRemote("origin", ((EditText) findViewById(R.id.clone_uri)).getText().toString(), true);
|
||||
finish();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user