mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-17 09:38:19 +00:00
Merge pull request #2688
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user