mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-08-29 17:07:55 +00:00
Add KioskTab.hashCode() matching equals
This commit is contained in:
@@ -371,6 +371,11 @@ public abstract class Tab {
|
||||
&& kioskId.equals(other.kioskId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(getTabId(), kioskServiceId, kioskId);
|
||||
}
|
||||
|
||||
public int getKioskServiceId() {
|
||||
return kioskServiceId;
|
||||
}
|
||||
|
Reference in New Issue
Block a user