mirror of
https://github.com/Matte23/circolapp.git
synced 2025-12-06 07:29:10 +00:00
Fix code formatting
This commit is contained in:
@@ -177,12 +177,12 @@ class CircularLetterAdapter(
|
||||
holder.downloadButton.setOnClickListener {
|
||||
adapterCallback.circularToDownload = circulars[position]
|
||||
|
||||
if (ContextCompat.checkSelfPermission(
|
||||
val permission = ContextCompat.checkSelfPermission(
|
||||
context,
|
||||
Manifest.permission.WRITE_EXTERNAL_STORAGE
|
||||
)
|
||||
!= PackageManager.PERMISSION_GRANTED
|
||||
) {
|
||||
|
||||
if (permission != PackageManager.PERMISSION_GRANTED) {
|
||||
|
||||
val builder = AlertDialog.Builder(context)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user