mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
Use more clear argument names
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
7470fef2d6
commit
a7fe0adafb
2 changed files with 3 additions and 3 deletions
|
@ -210,7 +210,7 @@ class FileUploadWorker(
|
|||
|
||||
notificationManager.prepareForStart(
|
||||
uploadFileOperation,
|
||||
intents.startIntent(uploadFileOperation),
|
||||
cancelPendingIntent = intents.startIntent(uploadFileOperation),
|
||||
intents.notificationStartIntent(uploadFileOperation)
|
||||
)
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ class UploadNotificationManager(private val context: Context, viewThemeUtils: Vi
|
|||
@Suppress("MagicNumber")
|
||||
fun prepareForStart(
|
||||
uploadFileOperation: UploadFileOperation,
|
||||
pendingIntent: PendingIntent,
|
||||
cancelPendingIntent: PendingIntent,
|
||||
startIntent: PendingIntent
|
||||
) {
|
||||
notificationBuilder.run {
|
||||
|
@ -65,7 +65,7 @@ class UploadNotificationManager(private val context: Context, viewThemeUtils: Vi
|
|||
addAction(
|
||||
R.drawable.ic_action_cancel_grey,
|
||||
context.getString(R.string.common_cancel),
|
||||
pendingIntent
|
||||
cancelPendingIntent
|
||||
)
|
||||
|
||||
setContentIntent(startIntent)
|
||||
|
|
Loading…
Reference in a new issue