Fixed threading bug in bookmark setting fragment, changed default bookmark title
This commit is contained in:
parent
dbc186db9b
commit
e26330a5bd
@ -160,13 +160,19 @@ public class BookmarkSettingsFragment extends PreferenceFragment implements Pref
|
||||
deletePref.setOnPreferenceClickListener(this);
|
||||
|
||||
BrowserApp.getTaskThread().execute(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
final boolean isBrowserImportSupported = getSync().isBrowserImportSupported();
|
||||
Schedulers.main().execute(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
Preference importStock = findPreference(SETTINGS_IMPORT_BROWSER);
|
||||
importStock.setEnabled(getSync().isBrowserImportSupported());
|
||||
importStock.setEnabled(isBrowserImportSupported);
|
||||
importStock.setOnPreferenceClickListener(BookmarkSettingsFragment.this);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{"url": "https://twitter.com/RestainoAnthony", "title": "The Developer", "folder": "", "order": 0}
|
||||
{"url": "https://twitter.com/RestainoAnthony", "title": "Contact Me", "folder": "", "order": 0}
|
||||
{"url": "https://www.facebook.com/", "title": "Facebook", "folder": "", "order": 2}
|
||||
{"url": "https://twitter.com", "title": "Twitter", "folder": "", "order": 3}
|
||||
{"url": "https://www.google.com/", "title": "Google", "folder": "", "order": 4}
|
||||
|
Loading…
Reference in New Issue
Block a user