fix: remember selected channel tab on screen rotation
This commit is contained in:
parent
bb062f07f9
commit
c929f00456
5 changed files with 31 additions and 7 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue