mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
Suppress MagicNumber
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
b9e5c109a9
commit
6fce72022f
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ class ExpirationDatePickerDialogFragment : DialogFragment(), OnDateSetListener,
|
||||||
*
|
*
|
||||||
* @return A new dialog to let the user choose an expiration date that will be bound to a share link.
|
* @return A new dialog to let the user choose an expiration date that will be bound to a share link.
|
||||||
*/
|
*/
|
||||||
|
@Suppress("DEPRECATION", "MagicNumber")
|
||||||
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
||||||
// Chosen date received as an argument must be later than tomorrow ; default to tomorrow in other case
|
// Chosen date received as an argument must be later than tomorrow ; default to tomorrow in other case
|
||||||
val chosenDate = Calendar.getInstance()
|
val chosenDate = Calendar.getInstance()
|
||||||
|
|
Loading…
Reference in a new issue