Skip to content

Commit

Permalink
fix: import sticker list
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao committed Aug 28, 2023
1 parent 9695f5c commit b603836
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26053,7 +26053,7 @@ public void dismiss(boolean animated) {
if (item != null) {
item.setVisibility(View.VISIBLE);
}
if (chatMode != MODE_SCHEDULED && NaConfig.INSTANCE.getShowNoQuoteForward().Bool())
if (chatMode != MODE_SCHEDULED && actionModeOtherItem != null && NaConfig.INSTANCE.getShowNoQuoteForward().Bool())
actionModeOtherItem.showSubItem(nkbtn_forward_noquote);
item = actionMode.getItem(delete);
if (item != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,10 @@ public void processStickersFile(File file, boolean exitOnFail) {

}

AlertDialog pro = new AlertDialog(getParentActivity(), 1);
AlertDialog pro = new AlertDialog(getParentActivity(), AlertDialog.ALERT_TYPE_MESSAGE);
pro.setMessage(LocaleController.getString("Loading", R.string.Loading));
pro.setCanceledOnTouchOutside(true);
pro.setCancelable(true);
pro.show();

UIUtil.runOnIoDispatcher(() -> {
Expand Down

0 comments on commit b603836

Please sign in to comment.