mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-22 11:02:35 +01:00
Add ChannelTab.hashCode() matching equals
This commit is contained in:
parent
14bbaccb9f
commit
1812249d37
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user