Fix an issue with no toots displayed
This commit is contained in:
parent
ebdf48df70
commit
8a361516f1
|
@ -874,6 +874,10 @@ public class DisplayStatusFragment extends Fragment implements OnRetrieveFeedsIn
|
|||
}
|
||||
this.statuses.addAll(position, tmpStatuses);
|
||||
statusListAdapter.notifyItemRangeInserted(position, tmpStatuses.size());
|
||||
if( textviewNoAction.getVisibility() == View.VISIBLE && tmpStatuses.size() > 0){
|
||||
textviewNoAction.setVisibility(View.GONE);
|
||||
lv_status.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
|
||||
//Update last read toots value when pressing tab button
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
android:layout_height="wrap_content" />
|
||||
<RelativeLayout
|
||||
android:id="@+id/status_show_more"
|
||||
android:visibility="gone"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_width="match_parent"
|
||||
android:background="@color/mastodonC1"
|
||||
|
|
Loading…
Reference in New Issue