forked from j62/ctbrec
1
0
Fork 0

Set chaturbate thumbs to 16:9 format

This commit is contained in:
0xb00bface 2020-10-03 16:48:57 +02:00
parent 0e71729fb9
commit 7701ee2482
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ public class ChaturbateTabProvider extends TabProvider {
tabs.add(createTab("Trans", chaturbate.getBaseUrl() + "/trans-cams/")); tabs.add(createTab("Trans", chaturbate.getBaseUrl() + "/trans-cams/"));
followedTab.setScene(scene); followedTab.setScene(scene);
followedTab.setRecorder(recorder); followedTab.setRecorder(recorder);
followedTab.setImageAspectRatio(9.0 / 16.0);
tabs.add(followedTab); tabs.add(followedTab);
return tabs; return tabs;
} }
@ -46,6 +47,7 @@ public class ChaturbateTabProvider extends TabProvider {
ChaturbateUpdateService updateService = new ChaturbateUpdateService(url, false, chaturbate); ChaturbateUpdateService updateService = new ChaturbateUpdateService(url, false, chaturbate);
ThumbOverviewTab tab = new ThumbOverviewTab(title, updateService, chaturbate); ThumbOverviewTab tab = new ThumbOverviewTab(title, updateService, chaturbate);
tab.setRecorder(recorder); tab.setRecorder(recorder);
tab.setImageAspectRatio(9.0 / 16.0);
return tab; return tab;
} }
} }