fix: typo

This commit is contained in:
NextAlone 2022-01-27 13:32:35 +08:00
parent 321a90302d
commit aca2649a3b
No known key found for this signature in database
GPG Key ID: DBA7B0AEF8C1CD2C

View File

@ -339,8 +339,8 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
private final static int nkbtn_PGPDecrypt = 2022;
private final static int nkbtn_PGPImportPrivate = 2023;
private final static int nkbtn_PGPImport = 2024;
private final static int nkbtm_invertReply = 2025;
private final static int nkbtm_greatOrPoor = 2026;
private final static int nkbtn_invertReply = 2025;
private final static int nkbtn_greatOrPoor = 2026;
protected TLRPC.Chat currentChat;
@ -21962,12 +21962,12 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
}
if (NaConfig.INSTANCE.getShowInvertReply().Bool()) {
items.add(LocaleController.getString("InvertReply", R.string.InvertReply));
options.add(nkbtm_invertReply);
options.add(nkbtn_invertReply);
icons.add(R.drawable.msg_reset);
}
if (NaConfig.INSTANCE.getShowGreatOrPoor().Bool()) {
items.add(LocaleController.getString("Great", R.string.Great));
options.add(nkbtm_greatOrPoor);
options.add(nkbtn_greatOrPoor);
icons.add(R.drawable.msg_prpr);
}
}
@ -23984,11 +23984,11 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
repeatMessage(true);
return 2;
}
case nkbtm_invertReply: {
case nkbtn_invertReply: {
invertReplyMessage(true);
return 2;
}
case nkbtm_greatOrPoor: {
case nkbtn_greatOrPoor: {
sendGreatOrGreat(true);
return 2;
}
@ -29177,10 +29177,10 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
} else if (id == nkbtn_repeat) {
repeatMessage(false);
clearSelectionMode();
} else if (id == nkbtm_invertReply) {
} else if (id == nkbtn_invertReply) {
invertReplyMessage(false);
clearSelectionMode();
} else if (id == nkbtm_greatOrPoor) {
} else if (id == nkbtn_greatOrPoor) {
sendGreatOrGreat(false);
clearSelectionMode();
}
@ -29193,11 +29193,11 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
repeatMessage(false);
break;
}
case nkbtm_invertReply: {
case nkbtn_invertReply: {
invertReplyMessage(false);
break;
}
case nkbtm_greatOrPoor: {
case nkbtn_greatOrPoor: {
sendGreatOrGreat(false);
break;
}