fix adding repos via incoming URLs
This fixes bad logic introduced in c52262a4057f8a86a1082e4cfbab4e70ff195daf
This commit is contained in:
parent
f79f95e25a
commit
e543895940
@ -193,7 +193,7 @@ public class FDroid extends ActionBarActivity {
|
||||
// Don't handle the intent after coming back to this view (e.g. after hitting the back button)
|
||||
// http://stackoverflow.com/a/14820849
|
||||
Intent intent = getIntent();
|
||||
if (intent.hasExtra("handled")) {
|
||||
if (!intent.hasExtra("handled")) {
|
||||
NewRepoConfig parser = new NewRepoConfig(this, intent);
|
||||
if (parser.isValidRepo()) {
|
||||
intent.putExtra("handled", true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user