Enable nonTransitiveRClass flag
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -400,7 +400,7 @@ class NotificationService : Service() {
|
||||
|
||||
private fun notifyInstallationStatus(app: App, status: String?) {
|
||||
val builder = NotificationCompat.Builder(this, Constants.NOTIFICATION_CHANNEL_ALERT)
|
||||
builder.color = getStyledAttributeColor(R.attr.colorAccent)
|
||||
builder.color = getStyledAttributeColor(R.color.colorAccent)
|
||||
builder.setSmallIcon(R.drawable.ic_install)
|
||||
builder.setContentTitle(app.displayName)
|
||||
builder.setContentText(status)
|
||||
|
||||
@@ -45,7 +45,7 @@ abstract class BaseBottomSheet : BottomSheetDialogFragment() {
|
||||
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
||||
val bottomSheetDialog = BottomSheetDialog(
|
||||
requireContext(),
|
||||
R.style.Theme_Material3_DayNight_BottomSheetDialog
|
||||
R.style.AppTheme_Dialog
|
||||
)
|
||||
|
||||
VM = SheetBaseBinding.inflate(layoutInflater)
|
||||
|
||||
@@ -111,4 +111,6 @@
|
||||
<style name="AppTheme.SwitchPreference" parent="@style/Preference.SwitchPreferenceCompat.Material">
|
||||
<item name="widgetLayout">@layout/preference_material_switch</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.Dialog" parent="Theme.Material3.DayNight.BottomSheetDialog" />
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user