Merge pull request #2688

This commit is contained in:
Patryk Michalik authored and GitHub committed 2022-06-06 16:33:20 +02:00
commit 4e0804bd59
2 files changed
+6 -8

No files matched your search

@@ -149,13 +149,11 @@ fun HomeScreenPreferences() {
)
}
}
if (!Utilities.ATLEAST_S) {
PreferenceGroup(heading = stringResource(id = R.string.widget_button_text)) {
SwitchPreference(
adapter = prefs2.roundedWidgets.getAdapter(),
label = stringResource(id = R.string.force_rounded_widgets),
)
}
PreferenceGroup(heading = stringResource(id = R.string.widget_button_text)) {
SwitchPreference(
adapter = prefs2.roundedWidgets.getAdapter(),
label = stringResource(id = R.string.force_rounded_widgets),
)
}
}
}
@@ -75,7 +75,7 @@ public class RoundedCornerEnforcement {
/** Check if the app widget is in the deny list. */
public static boolean isRoundedCornerEnabled() {
return Utilities.ATLEAST_S || sRoundedCornerEnabled;
return sRoundedCornerEnabled;
}
/**