File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ui/src/main/java/com/wireguard/android/widget Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ package com.wireguard.android.widget
8
8
import android.content.Context
9
9
import android.os.Parcelable
10
10
import android.util.AttributeSet
11
- import android.widget.Switch
11
+ import com.google. android.material.switchmaterial.SwitchMaterial
12
12
13
- class ToggleSwitch @JvmOverloads constructor(context : Context ? , attrs : AttributeSet ? = null ) : Switch (context, attrs) {
13
+ class ToggleSwitch @JvmOverloads constructor(context : Context , attrs : AttributeSet ? = null ) : SwitchMaterial (context, attrs) {
14
14
private var isRestoringState = false
15
15
private var listener: OnBeforeCheckedChangeListener ? = null
16
16
override fun onRestoreInstanceState (state : Parcelable ) {
You can’t perform that action at this time.
0 commit comments