Skip to content

Commit

Permalink
Fix kotlin lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ForceTower committed Nov 17, 2023
1 parent be07c57 commit c7309c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ class HeaderGridDrawable(context: Context) : Drawable() {
paint.alpha = alpha
}

@Deprecated("Deprecated in Java",
@Deprecated(
"Deprecated in Java",
ReplaceWith("PixelFormat.TRANSLUCENT", "android.graphics.PixelFormat")
)
override fun getOpacity() = PixelFormat.TRANSLUCENT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,16 @@ import android.view.ViewGroup
import android.webkit.URLUtil
import androidx.activity.result.contract.ActivityResultContracts
import androidx.annotation.Keep
import androidx.core.content.ContextCompat
import androidx.core.os.bundleOf
import androidx.fragment.app.viewModels
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
import androidx.navigation.fragment.findNavController
import androidx.navigation.fragment.navArgs
import com.canhub.cropper.CropImageContract
import com.canhub.cropper.CropImageContractOptions
import com.canhub.cropper.CropImageOptions
import com.canhub.cropper.CropImageView
import com.forcetower.core.extensions.isDarkTheme
import com.forcetower.core.utils.ColorUtils
import com.forcetower.core.utils.ViewUtils
Expand All @@ -50,11 +53,6 @@ import com.forcetower.uefs.feature.setup.SelectCourseDialog
import com.forcetower.uefs.feature.shared.UFragment
import com.forcetower.uefs.feature.shared.getPixelsFromDp
import com.google.android.material.textfield.TextInputEditText
import com.canhub.cropper.CropImage
import com.canhub.cropper.CropImageContract
import com.canhub.cropper.CropImageContractOptions
import com.canhub.cropper.CropImageOptions
import com.canhub.cropper.CropImageView
import com.wdullaer.materialdatetimepicker.date.DatePickerDialog
import com.wdullaer.materialdatetimepicker.time.TimePickerDialog
import dagger.hilt.android.EntryPointAccessors
Expand Down

0 comments on commit c7309c6

Please sign in to comment.