Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 12, 2024
1 parent c5067cb commit 1c27130
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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();
});
}
Expand Down

0 comments on commit 1c27130

Please sign in to comment.