bug fix
This commit is contained in:
parent
1060c69623
commit
799d18cbdc
|
@ -588,7 +588,7 @@ public class OrbotMainActivity extends AppCompatActivity
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
|
|
||||||
if (row == null) {
|
if (row == null || row.getCount() < 1) {
|
||||||
cr.insert(HSContentProvider.CONTENT_URI, fields);
|
cr.insert(HSContentProvider.CONTENT_URI, fields);
|
||||||
} else {
|
} else {
|
||||||
onionHostname = row.getString(row.getColumnIndex(HSContentProvider.HiddenService.DOMAIN));
|
onionHostname = row.getString(row.getColumnIndex(HSContentProvider.HiddenService.DOMAIN));
|
||||||
|
|
Loading…
Reference in New Issue