mirror of
https://github.com/nextcloud/android.git
synced 2024-11-25 22:55:46 +03:00
reformat code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
ce861ee170
commit
620a008b34
1 changed files with 5 additions and 2 deletions
|
@ -141,7 +141,9 @@ public class NotificationListAdapter extends RecyclerView.Adapter<NotificationLi
|
|||
downloadIcon(notification.getIcon(), holder.binding.icon);
|
||||
}
|
||||
|
||||
int nightModeFlag = notificationsActivity.getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK;
|
||||
int nightModeFlag =
|
||||
notificationsActivity.getResources().getConfiguration().uiMode
|
||||
& Configuration.UI_MODE_NIGHT_MASK;
|
||||
if (Configuration.UI_MODE_NIGHT_YES == nightModeFlag) {
|
||||
holder.binding.icon.setColorFilter(Color.WHITE, PorterDuff.Mode.SRC_IN);
|
||||
} else {
|
||||
|
@ -150,7 +152,8 @@ public class NotificationListAdapter extends RecyclerView.Adapter<NotificationLi
|
|||
|
||||
setButtons(holder, notification);
|
||||
|
||||
holder.binding.dismiss.setOnClickListener(v -> new DeleteNotificationTask(client, notification,
|
||||
holder.binding.dismiss.setOnClickListener(v -> new DeleteNotificationTask(client,
|
||||
notification,
|
||||
holder,
|
||||
notificationsActivity).execute());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue