mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 16:49:40 +01:00
Update SwitchMaterial to the new MaterialSwitch.
This commit is contained in:
committed by
Greyson Parrelli
parent
ee48e6c347
commit
eb150d9a15
@@ -18,7 +18,7 @@ import androidx.constraintlayout.widget.Guideline
|
||||
import androidx.core.animation.doOnEnd
|
||||
import androidx.core.content.ContextCompat
|
||||
import com.airbnb.lottie.SimpleColorFilter
|
||||
import com.google.android.material.switchmaterial.SwitchMaterial
|
||||
import com.google.android.material.materialswitch.MaterialSwitch
|
||||
import org.thoughtcrime.securesms.R
|
||||
import org.thoughtcrime.securesms.components.TooltipPopup
|
||||
import org.thoughtcrime.securesms.keyvalue.SignalStore
|
||||
@@ -59,7 +59,7 @@ class ImageEditorHudV2 @JvmOverloads constructor(
|
||||
private val cropFlipButton: View = findViewById(R.id.image_editor_hud_flip_button)
|
||||
private val cropAspectLockButton: ImageView = findViewById(R.id.image_editor_hud_aspect_lock_button)
|
||||
private val blurToggleContainer: View = findViewById(R.id.image_editor_hud_blur_toggle_container)
|
||||
private val blurToggle: SwitchMaterial = findViewById(R.id.image_editor_hud_blur_toggle)
|
||||
private val blurToggle: MaterialSwitch = findViewById(R.id.image_editor_hud_blur_toggle)
|
||||
private val blurToast: View = findViewById(R.id.image_editor_hud_blur_toast)
|
||||
private val blurHelpText: View = findViewById(R.id.image_editor_hud_blur_help_text)
|
||||
private val colorIndicator: ImageView = findViewById(R.id.image_editor_hud_color_indicator)
|
||||
|
||||
Reference in New Issue
Block a user