mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
ビルドエラー回避
This commit is contained in:
parent
1ceb3e29b7
commit
afef074242
|
@ -106,11 +106,11 @@ public class MainActivity extends AppCompatActivity {
|
||||||
if (!isEnabled) bottomNavigationView.getMenu().removeItem(menuId);
|
if (!isEnabled) bottomNavigationView.getMenu().removeItem(menuId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
// @Override
|
||||||
public void navigateToFragment(Fragment fragment) {
|
// public void navigateToFragment(Fragment fragment) {
|
||||||
getSupportFragmentManager().beginTransaction()
|
// getSupportFragmentManager().beginTransaction()
|
||||||
.replace(R.id.nav_host_fragment, fragment)
|
// .replace(R.id.nav_host_fragment, fragment)
|
||||||
.addToBackStack(null)
|
// .addToBackStack(null)
|
||||||
.commit();
|
// .commit();
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user