-
-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement My media (small) home section #4011
Conversation
Note that this still displays different from jellyfin-web. It's really just the same card but smaller, instead of those awful buttons in a grid. |
|
||
// Set size | ||
if (small) { | ||
cardView.setMainImageDimensions(133, 75) |
Check warning
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
|
||
// Set size | ||
if (small) { | ||
cardView.setMainImageDimensions(133, 75) |
Check warning
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
if (small) { | ||
cardView.setMainImageDimensions(133, 75) | ||
} else { | ||
cardView.setMainImageDimensions(224, 126) |
Check warning
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
if (small) { | ||
cardView.setMainImageDimensions(133, 75) | ||
} else { | ||
cardView.setMainImageDimensions(224, 126) |
Check warning
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Changes
Screenshots
Comparison with previous size (first row)
Issues
Fixes #1499
Fixes #2093
Fixes #2721
Fixes #3176
Fixes #3664
Fixes #3749