Some edges fixes
This commit is contained in:
parent
585dafea87
commit
dc6909ddee
|
@ -7,8 +7,8 @@ android {
|
||||||
applicationId "fr.gouv.etalab.mastodon"
|
applicationId "fr.gouv.etalab.mastodon"
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
targetSdkVersion 28
|
targetSdkVersion 28
|
||||||
versionCode 221
|
versionCode 222
|
||||||
versionName "1.63.0-beta-2"
|
versionName "1.63.0"
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
}
|
}
|
||||||
dexOptions {
|
dexOptions {
|
||||||
|
|
|
@ -193,7 +193,7 @@ public class DisplayStatusFragment extends Fragment implements OnRetrieveFeedsIn
|
||||||
statusListAdapter = new StatusListAdapter(context, type, targetedId, isOnWifi, this.statuses);
|
statusListAdapter = new StatusListAdapter(context, type, targetedId, isOnWifi, this.statuses);
|
||||||
lv_status.setAdapter(statusListAdapter);
|
lv_status.setAdapter(statusListAdapter);
|
||||||
}else {
|
}else {
|
||||||
if( remoteInstance != null) //if it's a Peertube account connected
|
if( remoteInstance != null && MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.PEERTUBE) //if it's a Peertube account connected
|
||||||
remoteInstance = account.getInstance();
|
remoteInstance = account.getInstance();
|
||||||
BaseMainActivity.displayPeertube = remoteInstance;
|
BaseMainActivity.displayPeertube = remoteInstance;
|
||||||
peertubeAdapater = new PeertubeAdapter(context, remoteInstance, this.peertubes);
|
peertubeAdapater = new PeertubeAdapter(context, remoteInstance, this.peertubes);
|
||||||
|
@ -319,6 +319,7 @@ public class DisplayStatusFragment extends Fragment implements OnRetrieveFeedsIn
|
||||||
else if( type == RetrieveFeedsAsyncTask.Type.REMOTE_INSTANCE || type == RetrieveFeedsAsyncTask.Type.PIXELFED) {
|
else if( type == RetrieveFeedsAsyncTask.Type.REMOTE_INSTANCE || type == RetrieveFeedsAsyncTask.Type.PIXELFED) {
|
||||||
if( search_peertube == null) {
|
if( search_peertube == null) {
|
||||||
if( remote_channel_name == null) {
|
if( remote_channel_name == null) {
|
||||||
|
|
||||||
asyncTask = new RetrieveFeedsAsyncTask(context, type, remoteInstance, max_id, DisplayStatusFragment.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
asyncTask = new RetrieveFeedsAsyncTask(context, type, remoteInstance, max_id, DisplayStatusFragment.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue