File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
ui/src/main/java/com/wireguard/android/fragment Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,6 @@ import kotlinx.coroutines.SupervisorJob
39
39
import kotlinx.coroutines.async
40
40
import kotlinx.coroutines.awaitAll
41
41
import kotlinx.coroutines.launch
42
- import java.util.ArrayList
43
- import java.util.HashSet
44
42
45
43
/* *
46
44
* Fragment containing a list of known WireGuard tunnels. It allows creating and deleting tunnels.
@@ -270,7 +268,7 @@ class TunnelListFragment : BaseFragment() {
270
268
}
271
269
val adapter = if (binding == null ) null else binding!! .tunnelList.adapter
272
270
if (actionMode == null && ! checkedItems.isEmpty() && activity != null ) {
273
- (activity as AppCompatActivity ? ) !! .startSupportActionMode(this )
271
+ (activity as AppCompatActivity ) .startSupportActionMode(this )
274
272
} else if (actionMode != null && checkedItems.isEmpty()) {
275
273
actionMode!! .finish()
276
274
}
You can’t perform that action at this time.
0 commit comments