mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-06 18:57:26 +01:00
Version 5.1.0-beta2. Fix crash when hiding read posts.
This commit is contained in:
parent
9e19b6f092
commit
b059b2d503
@ -6,8 +6,8 @@ android {
|
||||
applicationId "ml.docilealligator.infinityforreddit"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 30
|
||||
versionCode 81
|
||||
versionName "5.1.0-beta1"
|
||||
versionCode 82
|
||||
versionName "5.1.0-beta2"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
javaCompileOptions {
|
||||
annotationProcessorOptions {
|
||||
|
@ -1704,6 +1704,9 @@ public class PostFragment extends Fragment implements FragmentCommunicator {
|
||||
}
|
||||
|
||||
public void markPostAsRead(Post post) {
|
||||
if (readPosts == null) {
|
||||
readPosts = new ArrayList<>();
|
||||
}
|
||||
readPosts.add(post.getId());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user