mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-22 11:02:35 +01:00
Android 33 -> Android 13
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
This commit is contained in:
parent
4b1824e8c1
commit
f98548698a
@ -89,7 +89,7 @@ class NotificationSlot {
|
|||||||
void setupCheckbox(final View view, final boolean isCompactSlotChecked) {
|
void setupCheckbox(final View view, final boolean isCompactSlotChecked) {
|
||||||
final CheckBox compactSlotCheckBox = view.findViewById(R.id.notificationActionCheckBox);
|
final CheckBox compactSlotCheckBox = view.findViewById(R.id.notificationActionCheckBox);
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||||
// there are no compact slots to customize on Android 33+
|
// there are no compact slots to customize on Android 13+
|
||||||
compactSlotCheckBox.setVisibility(View.GONE);
|
compactSlotCheckBox.setVisibility(View.GONE);
|
||||||
view.findViewById(R.id.notificationActionCheckBoxClickableArea)
|
view.findViewById(R.id.notificationActionCheckBoxClickableArea)
|
||||||
.setVisibility(View.GONE);
|
.setVisibility(View.GONE);
|
||||||
|
Loading…
Reference in New Issue
Block a user