mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
PositiveButtonを押されたときに更新するようにした
This commit is contained in:
parent
1e0ba33519
commit
50f00411ca
|
@ -211,7 +211,12 @@ public class ViewerContainerFragment extends Fragment {
|
|||
.setListener(new LacertaApplyTagDialog.LacertaApplyTagDialogListener() {
|
||||
@Override
|
||||
public void onDialogPositiveClick(ArrayList<DocumentTag> appliedTags) {
|
||||
// 適用
|
||||
lacertaLibrary.applyTagListToDocument(documentId, appliedTags).thenAccept(aVoid -> {
|
||||
getActivity().runOnUiThread(() -> {
|
||||
Toast.makeText(getContext(), "タグを適用しました", Toast.LENGTH_SHORT).show();
|
||||
lacertaApplyTagDialog.dismiss();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue
Block a user