アイコンに合わせてプロパティ名を変更

This commit is contained in:
r-ca 2024-01-27 16:23:35 +09:00
parent c05c80f3e7
commit bda2b82cea
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -158,12 +158,12 @@ public class ViewerListFragment extends Fragment {
* ToolbarをInitする
*
* @param toolbar Toolbar
* @param showBackButton 戻るボタンを表示するか
* @param showCloseButton 戻るボタンを表示するか
* @param title タイトル
*/
private void toolbarSetup(Toolbar toolbar, boolean showBackButton, String title, String Subtitle) {
private void toolbarSetup(Toolbar toolbar, boolean showCloseButton, String title, String Subtitle) {
getActivity().runOnUiThread(() -> {
if (showBackButton) {
if (showCloseButton) {
toolbar.setNavigationIcon(one.nem.lacerta.shared.ui.R.drawable.close_24px);
toolbar.setNavigationOnClickListener(v -> {
// Stop Activity