Skip to content

Commit cb881e2

Browse files
update due to code review
Signed-off-by: tobiasKaminsky <[email protected]> Signed-off-by: alperozturk <[email protected]>
1 parent 998a6ea commit cb881e2

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

app/src/main/java/com/nextcloud/client/jobs/MediaFoldersDetectionWork.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ class MediaFoldersDetectionWork constructor(
223223
)
224224
.setSmallIcon(R.drawable.notification_icon)
225225
.setLargeIcon(BitmapFactory.decodeResource(context.resources, R.drawable.notification_icon))
226-
.setContentTitle(context.getString(R.string.re_enable_disrupted_auto_uploads))
226+
.setContentTitle(context.getString(R.string.re_enable_auto_upload))
227227
.setContentText(context.getString(R.string.click_to_learn_how_to_re_enable_auto_uploads))
228228
.setSound(RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION))
229229
.setAutoCancel(true)

app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,6 @@ public void registerFabListener() {
488488
mFabMain.setOnClickListener(v -> {
489489
PermissionUtil.requestMediaLocationPermission(activity);
490490

491-
492491
final OCFileListBottomSheetDialog dialog =
493492
new OCFileListBottomSheetDialog(activity,
494493
this,

app/src/main/java/com/owncloud/android/utils/PermissionUtil.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ object PermissionUtil {
318318
ActivityCompat.requestPermissions(
319319
activity,
320320
arrayOf(Manifest.permission.ACCESS_MEDIA_LOCATION),
321-
PERMISSIONS_POST_NOTIFICATIONS
321+
PERMISSIONS_MEDIA_LOCATION
322322
)
323323
}
324324
}

0 commit comments

Comments
 (0)