Skip to content

Commit

Permalink
update due to code review
Browse files Browse the repository at this point in the history
Signed-off-by: tobiasKaminsky <[email protected]>
  • Loading branch information
tobiasKaminsky committed Jan 14, 2025
1 parent a276eaf commit 446e3bc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ class MediaFoldersDetectionWork constructor(
)
.setSmallIcon(R.drawable.notification_icon)
.setLargeIcon(BitmapFactory.decodeResource(context.resources, R.drawable.notification_icon))
.setContentTitle(context.getString(R.string.re_enable_disrupted_auto_uploads))
.setContentTitle(context.getString(R.string.re_enable_auto_upload))
.setContentText(context.getString(R.string.click_to_learn_how_to_re_enable_auto_uploads))
.setSound(RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION))
.setAutoCancel(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,6 @@ public void registerFabListener() {
mFabMain.setOnClickListener(v -> {
PermissionUtil.requestMediaLocationPermission(activity);


final OCFileListBottomSheetDialog dialog =
new OCFileListBottomSheetDialog(activity,
this,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ object PermissionUtil {
ActivityCompat.requestPermissions(
activity,
arrayOf(Manifest.permission.ACCESS_MEDIA_LOCATION),
PERMISSIONS_POST_NOTIFICATIONS
PERMISSIONS_MEDIA_LOCATION
)
}
}
Expand Down

0 comments on commit 446e3bc

Please sign in to comment.