Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix crash in ViewThreadFragment.removeItem #3622

Merged
merged 1 commit into from
May 5, 2023

Conversation

connyduck
Copy link
Collaborator

from Google Play console

Exception java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
  at java.util.ArrayList.get (ArrayList.java:437)
  at java.util.Collections$UnmodifiableList.get (Collections.java:1356)
  at com.keylesspalace.tusky.components.viewthread.ViewThreadFragment.removeItem (ViewThreadFragment.kt:419)
  at com.keylesspalace.tusky.fragment.SFragment$showConfirmDeleteDialog$1$1.invokeSuspend (SFragment.kt:364)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:106)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)
  at android.app.ActivityThread.main (ActivityThread.java:8663)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1135)

@nikclayton nikclayton merged commit d274781 into develop May 5, 2023
@nikclayton nikclayton deleted the viewthreadfragmentcrash branch May 5, 2023 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants