fix: remember selected channel tab on screen rotation

This commit is contained in:
ThetaDev 2022-10-23 21:28:54 +02:00 committed by Stypox
parent bb062f07f9
commit c929f00456
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
5 changed files with 31 additions and 7 deletions

View file

@ -10,7 +10,10 @@ import org.schabi.newpipe.extractor.linkhandler.ChannelTabHandler.Tab;
import java.util.Set;
public class ChannelTabs {
public final class ChannelTabs {
private ChannelTabs() {
}
@StringRes
private static int getShowTabKey(final Tab tab) {
switch (tab) {