浏览代码

ktlint: reformat kotlin

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 3 年之前
父节点
当前提交
d46dfa8ded
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      src/main/java/com/nextcloud/client/jobs/NotificationWork.kt

+ 6 - 2
src/main/java/com/nextcloud/client/jobs/NotificationWork.kt

@@ -156,8 +156,12 @@ class NotificationWork constructor(
             }
             intent.putExtra(KEY_NOTIFICATION_ACCOUNT, user.accountName)
             intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)
-            pendingIntent = PendingIntent.getActivity(context, notification.getNotificationId(), intent,
-                PendingIntent.FLAG_ONE_SHOT)
+            pendingIntent = PendingIntent.getActivity(
+                context,
+                notification.getNotificationId(),
+                intent,
+                PendingIntent.FLAG_ONE_SHOT
+            )
         }
 
         val pushNotificationId = randomId.nextInt()