mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-01-28 18:44:44 +01:00
Probably fix duplicate posts problem.
This commit is contained in:
parent
dc550f1e18
commit
513d926770
@ -167,8 +167,6 @@ public class ViewVideoActivity extends AppCompatActivity {
|
||||
|
||||
mediaDownloader = new MediaDownloaderImpl();
|
||||
|
||||
mediaDownloader = new MediaDownloaderImpl();
|
||||
|
||||
Intent intent = getIntent();
|
||||
mVideoUri = intent.getData();
|
||||
postTitle = intent.getStringExtra(EXTRA_POST_TITLE);
|
||||
|
@ -533,4 +533,9 @@ public class Post implements Parcelable {
|
||||
}
|
||||
return ((Post) obj).id.equals(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return id.hashCode();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user