diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-09-22 22:37:39 +0530 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-09-22 23:54:26 +0200 |
commit | 6da6f7886a0370a6caeb6a7538c6174abeabcdd1 (patch) | |
tree | 5b2985e3ee27e1b4dfeb59804f808e4467a172d0 /ui/src/main/java | |
parent | 8c2029870f53ecae8834f73d85f6a04ab79f8050 (diff) |
tv: set layout manager from XML
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui/src/main/java')
-rw-r--r-- | ui/src/main/java/com/wireguard/android/activity/TvMainActivity.kt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/src/main/java/com/wireguard/android/activity/TvMainActivity.kt b/ui/src/main/java/com/wireguard/android/activity/TvMainActivity.kt index 19e75d72..7b93f563 100644 --- a/ui/src/main/java/com/wireguard/android/activity/TvMainActivity.kt +++ b/ui/src/main/java/com/wireguard/android/activity/TvMainActivity.kt @@ -16,7 +16,6 @@ import androidx.core.view.forEach import androidx.databinding.DataBindingUtil import androidx.databinding.ObservableBoolean import androidx.lifecycle.lifecycleScope -import androidx.recyclerview.widget.GridLayoutManager import com.wireguard.android.Application import com.wireguard.android.R import com.wireguard.android.backend.GoBackend @@ -110,7 +109,6 @@ class TvMainActivity : AppCompatActivity() { binding.deleteButton.setOnClickListener { isDeleting.set(!isDeleting.get()) } - binding.tunnelList.layoutManager = GridLayoutManager(this, 3) binding.executePendingBindings() setContentView(binding.root) |