From 1c27130902cd826be56a68a0ddf141982edf8330 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 12 Nov 2024 23:19:45 +0000 Subject: [PATCH] reformat --- .../discdd/bundletransport/BundleTransportActivity.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/BundleTransport/app/src/main/java/net/discdd/bundletransport/BundleTransportActivity.java b/BundleTransport/app/src/main/java/net/discdd/bundletransport/BundleTransportActivity.java index f1ad96bc93..5d7d2a31e3 100644 --- a/BundleTransport/app/src/main/java/net/discdd/bundletransport/BundleTransportActivity.java +++ b/BundleTransport/app/src/main/java/net/discdd/bundletransport/BundleTransportActivity.java @@ -114,8 +114,7 @@ protected void onCreate(Bundle savedInstanceState) { permissionsViewModel = new ViewModelProvider(this).get(PermissionsViewModel.class); permissionsFragment = new PermissionsFragment(permissionsViewModel); - permissionsTitledFragment = new TitledFragment("Permissions", - permissionsFragment); + permissionsTitledFragment = new TitledFragment("Permissions", permissionsFragment); fragments.add(permissionsTitledFragment); tabLayout = findViewById(R.id.tabs); @@ -181,8 +180,8 @@ public int getItemCount() { }; viewPager2.setAdapter(viewPager2Adapter); - mediator = new TabLayoutMediator(tabLayout, viewPager2, (tab, position) -> tab.setText( - fragments.get(position).title())); + mediator = new TabLayoutMediator(tabLayout, viewPager2, + (tab, position) -> tab.setText(fragments.get(position).title())); mediator.attach(); }); }