This commit is contained in:
Grishka 2022-04-15 03:53:30 +03:00
parent 886ae789f4
commit 25a3135de8
5 changed files with 2 additions and 7 deletions

View File

@ -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'

View File

@ -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);
}

View File

@ -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){

View File

@ -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;
}
}

View File

@ -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;