Last improvements

This commit is contained in:
tom79 2019-11-15 15:11:57 +01:00
parent b7f14397e0
commit fb5d207cac
2 changed files with 1 additions and 2 deletions

View File

@ -226,7 +226,6 @@ public class BookmarkActivity extends BaseActivity implements OnRetrieveFeedsInt
statusListAdapter = new StatusListAdapter(RetrieveFeedsAsyncTask.Type.CACHE_BOOKMARKS, null, isOnWifi, statuses);
lv_status.setAdapter(statusListAdapter);
statusListAdapter.notifyDataSetChanged();
textviewNoAction.setVisibility(View.VISIBLE);
}
}
}

View File

@ -56,7 +56,7 @@ public class SyncBookmarksAsyncTask extends AsyncTask<Void, Void, Void> {
@Override
protected Void doInBackground(Void... params) {
SQLiteDatabase db = Sqlite.getInstance(contextReference.get(), Sqlite.DB_NAME, null, Sqlite.DB_VERSION).open();
if( type == sync.EXPORT){
if( type == sync.IMPORT){
String max_id = null;
do {
APIResponse apiResponse = new API(contextReference.get()).getBookmarks(max_id);