Merge branch 'master' into 'master'
Remove any whitespace from fingerprint EditText input so that copy pasting is easier for users. Hey, I just added a line to remove the whitespace from fingerprints when adding a new Repo. Some repositories like https://microg.org have their fingerprint separated with spaces so copy pasting directly from there is more cumbersome if fdroid doesn't remove the whitespace by itself. Hope it's ok. :) See merge request !389
This commit is contained in:
commit
481468372e
@ -282,6 +282,8 @@ public class ManageReposActivity extends ActionBarActivity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String fp = fingerprintEditText.getText().toString();
|
String fp = fingerprintEditText.getText().toString();
|
||||||
|
// remove any whitespace from fingerprint
|
||||||
|
fp = fp.replaceAll("\\s", "");
|
||||||
|
|
||||||
switch (addRepoState) {
|
switch (addRepoState) {
|
||||||
case DOESNT_EXIST:
|
case DOESNT_EXIST:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user