Fixes
This commit is contained in:
parent
886ae789f4
commit
25a3135de8
|
@ -59,7 +59,7 @@ dependencies {
|
|||
implementation 'me.grishka.litex:dynamicanimation:1.1.0-alpha03'
|
||||
implementation 'me.grishka.litex:viewpager:1.0.0'
|
||||
implementation 'me.grishka.litex:viewpager2:1.0.0'
|
||||
implementation 'me.grishka.appkit:appkit:1.2'
|
||||
implementation 'me.grishka.appkit:appkit:1.2.1'
|
||||
implementation 'com.google.code.gson:gson:2.8.9'
|
||||
implementation 'org.jsoup:jsoup:1.14.3'
|
||||
implementation 'com.squareup:otto:1.3.8'
|
||||
|
|
|
@ -597,8 +597,6 @@ public abstract class BaseStatusListFragment<T extends DisplayItemsParent> exten
|
|||
|
||||
@Override
|
||||
public ImageLoaderRequest getImageRequest(int position, int image){
|
||||
if(position>=displayItems.size()) // TODO fix this in the image loader, these crashes are driving me crazy
|
||||
return null;
|
||||
return displayItems.get(position).getImageRequest(image);
|
||||
}
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ public class ProfileAboutFragment extends Fragment implements WindowInsetsAwareF
|
|||
list.setClipToPadding(false);
|
||||
dividerPaint.setStyle(Paint.Style.STROKE);
|
||||
dividerPaint.setStrokeWidth(V.dp(1));
|
||||
dividerPaint.setColor(getResources().getColor(R.color.gray_200)); // TODO themes
|
||||
dividerPaint.setColor(UiUtils.getThemeColor(getActivity(), R.attr.colorPollVoted));
|
||||
list.addItemDecoration(new RecyclerView.ItemDecoration(){
|
||||
@Override
|
||||
public void onDrawOver(@NonNull Canvas c, @NonNull RecyclerView parent, @NonNull RecyclerView.State state){
|
||||
|
|
|
@ -375,8 +375,6 @@ public class ComposeAutocompleteViewController{
|
|||
|
||||
@Override
|
||||
public ImageLoaderRequest getImageRequest(int position, int image){
|
||||
if(position>=emojis.size())
|
||||
return null;
|
||||
return emojis.get(position).request;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,6 @@ import android.graphics.drawable.ColorDrawable;
|
|||
import android.graphics.drawable.Drawable;
|
||||
import android.media.MediaPlayer;
|
||||
import android.net.Uri;
|
||||
import android.os.PowerManager;
|
||||
import android.util.Log;
|
||||
import android.view.Gravity;
|
||||
import android.view.KeyEvent;
|
||||
|
|
Loading…
Reference in New Issue