mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-09-01 10:27:57 +00:00
Add ChannelTab.hashCode() matching equals
This commit is contained in:
@@ -456,6 +456,11 @@ public abstract class Tab {
|
||||
&& channelName.equals(other.channelName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(getTabId(), channelServiceId, channelUrl, channelName);
|
||||
}
|
||||
|
||||
public int getChannelServiceId() {
|
||||
return channelServiceId;
|
||||
}
|
||||
|
Reference in New Issue
Block a user