Skip to content

Commit db0b2cf

Browse files
committed
remove unnecessary brackets
1 parent 57973f2 commit db0b2cf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/main/java/de/j4velin/pedometer/SensorListener.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,8 @@ private void showNotification() {
120120
startForeground(NOTIFICATION_ID, getNotification(this));
121121
} else if (getSharedPreferences("pedometer", Context.MODE_PRIVATE)
122122
.getBoolean("notification", true)) {
123-
{
124-
((NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE))
125-
.notify(NOTIFICATION_ID, getNotification(this));
126-
}
123+
((NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE))
124+
.notify(NOTIFICATION_ID, getNotification(this));
127125
}
128126
}
129127

0 commit comments

Comments
 (0)