We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8dfebb commit 7bec539Copy full SHA for 7bec539
ui/src/main/java/com/wireguard/android/activity/TvMainActivity.kt
@@ -135,6 +135,13 @@ class TvMainActivity : AppCompatActivity() {
135
}
136
137
138
+ override fun onBackPressed() {
139
+ if (isDeleting.get())
140
+ isDeleting.set(false)
141
+ else
142
+ super.onBackPressed()
143
+ }
144
+
145
private suspend fun updateStats() {
146
binding.tunnelList.forEach { viewItem ->
147
val listItem = DataBindingUtil.findBinding<TvTunnelListItemBinding>(viewItem)
0 commit comments