mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
Fix code analytics warnings
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
f0daf75f88
commit
1339228e4b
1 changed files with 3 additions and 3 deletions
|
@ -99,6 +99,7 @@ class SendShareDialog : BottomSheetDialogFragment(R.layout.send_share_fragment),
|
||||||
return binding.root
|
return binding.root
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Suppress("MagicNumber")
|
||||||
private fun setupSendButtonRecyclerView() {
|
private fun setupSendButtonRecyclerView() {
|
||||||
val sendIntent = createSendIntent(requireContext(), file!!)
|
val sendIntent = createSendIntent(requireContext(), file!!)
|
||||||
val sendButtonDataList = setupSendButtonData(sendIntent)
|
val sendButtonDataList = setupSendButtonData(sendIntent)
|
||||||
|
@ -120,6 +121,7 @@ class SendShareDialog : BottomSheetDialogFragment(R.layout.send_share_fragment),
|
||||||
viewThemeUtils?.platform?.colorViewBackground(binding.bottomSheet, ColorRole.SURFACE_VARIANT)
|
viewThemeUtils?.platform?.colorViewBackground(binding.bottomSheet, ColorRole.SURFACE_VARIANT)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Suppress("MagicNumber")
|
||||||
private fun checkButtonVisibilities() {
|
private fun checkButtonVisibilities() {
|
||||||
if (hideNcSharingOptions) {
|
if (hideNcSharingOptions) {
|
||||||
binding.sendShareButtons.visibility = View.GONE
|
binding.sendShareButtons.visibility = View.GONE
|
||||||
|
@ -268,7 +270,5 @@ class SendShareDialog : BottomSheetDialogFragment(R.layout.send_share_fragment),
|
||||||
dialogFragment.arguments = args
|
dialogFragment.arguments = args
|
||||||
return dialogFragment
|
return dialogFragment
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue