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 1b0528870a
commit 5ce45cd4f2
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) {