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

搜索用iPhone输入文字后,会有几率闪退 #83

Closed
ZsIsMe opened this issue Sep 20, 2023 · 2 comments
Closed

搜索用iPhone输入文字后,会有几率闪退 #83

ZsIsMe opened this issue Sep 20, 2023 · 2 comments

Comments

@ZsIsMe
Copy link
Contributor

ZsIsMe commented Sep 20, 2023

我在搜索页面进行2次差不多的搜索,”刃牙“,”刃牙刃牙“,”刃牙“
App就会崩溃。
Thread 1: "Diffable data source detected section identifiers that are equal but have different hash values. Two identifiers which compare as equal must return the same hash value. You must fix this in the Hashable (Swift) or hash property (Objective-C) implementation for the type of these identifiers. Identifiers that are equal but have different hash values: (BilibiliLive.SearchList(title: "视频", width: <NSCollectionLayoutDimension: 0x283c4ff20>, height: <NSCollectionLayoutDimension: 0x283c4ff60>, scrollingBehavior: __C.UICollectionLayoutSectionOrthogonalScrollingBehavior)) and (BilibiliLive.SearchList(title: "视频", width: <NSCollectionLayoutDimension: 0x283c7ac60>, height: <NSCollectionLayoutDimension: 0x283c79420>, scrollingBehavior: __C.UICollectionLayoutSectionOrthogonalScrollingBehavior))"

@ZsIsMe
Copy link
Contributor Author

ZsIsMe commented Sep 20, 2023

这个像是哈希键重复了

@haowenwu
Copy link
Collaborator

haowenwu commented Oct 9, 2023

Fix at #85

@haowenwu haowenwu closed this as completed Oct 9, 2023
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

No branches or pull requests

2 participants