Skip to content

Commit

Permalink
Minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Domi04151309 committed May 18, 2024
1 parent 06df97f commit d2ba844
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class Rules(context: Context) {
fun hideWhenNoNotifications(context: Context): Boolean =
P.getPreferences(context).getBoolean(
"rules_hide_no_notifications",
false
false,
)

fun matchesBatteryPercentage(context: Context): Boolean =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class NotificationService : NotificationListenerService() {
override fun onNotificationRemoved(notification: StatusBarNotification) {
updateValues()

@Suppress("ComplexCondition")
if (
CombinedServiceReceiver.isAlwaysOnRunning &&
Rules.isAmbientMode(this) &&
Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.

0 comments on commit d2ba844

Please sign in to comment.