diff options
Diffstat (limited to 'app/src/main/java/com/wireguard')
-rw-r--r-- | app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java b/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java index e244f756..72e2fbdb 100644 --- a/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java +++ b/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java @@ -305,6 +305,10 @@ public class TunnelListFragment extends BaseFragment { .whenComplete(TunnelListFragment.this::onTunnelDeletionFinished); mode.finish(); return true; + case R.id.menu_action_select_all: + for (int i = 0; i < tunnelList.getAdapter().getCount(); ++i) + tunnelList.setItemChecked(i, true); + return true; default: return false; } |