This commit is contained in:
J62 2025-03-15 23:21:54 -07:00
parent 2a0a3ad4a6
commit 45434afd96
1 changed files with 3 additions and 1 deletions

View File

@ -245,12 +245,14 @@ public class SettingsTab extends Tab implements TabSelectionListener {
}
private void refreshChaturbateTabs() {
System.out.println("Refreshing Chaturbate Tabs..."); // Debugging output
getTabPane().getTabs().removeIf(tab -> tab instanceof ThumbOverviewTab); // Remove all Chaturbate tabs
var newTabs = SiteUiFactory.getUi(new Chaturbate()).getTabProvider().getSiteTabs(getTabPane().getScene()); // Get updated tabs
getTabPane().getTabs().addAll(newTabs); // Add them back with new URLs
}
System.out.println("Chaturbate tabs refreshed!"); // Debugging line
}
private void createGui() {