不要なコードの削除, テキストを明示

This commit is contained in:
r-ca 2024-01-27 16:21:41 +09:00
parent c7f5502535
commit 603a758ab6
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -177,13 +177,8 @@ public class ViewerListFragment extends Fragment {
toolbar.inflateMenu(R.menu.viewer_menu);
toolbar.setOnMenuItemClickListener(item -> {
if (item.getItemId() == R.id.action_open_vcs_rev_list) {
// Open vcs rev list
// getParentFragmentManager().beginTransaction()
// .replace(R.id.nav_host_fragment, ViewerVcsRevListFragment.newInstance(documentId, documentName))
// .commit();
LacertaSelectRevDialog lacertaSelectRevDialog = new LacertaSelectRevDialog();
lacertaSelectRevDialog.setDocumentId(this.documentId);
lacertaSelectRevDialog.setDocumentId(this.documentId).setTitle("リビジョンの選択").setMessage("リビジョンを選択してください。").setNegativeButtonText("キャンセル");
lacertaSelectRevDialog.setListener(new LacertaSelectRevDialogListener() {
@Override
public void onItemSelected(String revId) {