Compare commits
No commits in common. "master" and "1.0.0" have entirely different histories.
|
@ -1,9 +1,5 @@
|
|||
# Changelog
|
||||
|
||||
### another.im 1.0.1
|
||||
* Fixed message input focus loss
|
||||
* Addressed potential crashes caused by NullPointerException (NPE)
|
||||
|
||||
### another.im 1.0.0
|
||||
* Implementation of OTR chats
|
||||
* Rebranding from Conversation Clasic to another.im
|
||||
|
|
|
@ -104,8 +104,8 @@ android {
|
|||
defaultConfig {
|
||||
minSdkVersion 24
|
||||
targetSdkVersion 34
|
||||
versionCode 2
|
||||
versionName "1.0.1"
|
||||
versionCode 1
|
||||
versionName "1.0.0"
|
||||
archivesBaseName += "-$versionName"
|
||||
applicationId "im.narayana.another"
|
||||
resValue "string", "applicationId", applicationId
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
* Fixed message input focus loss
|
||||
* Addressed potential crashes caused by NullPointerException
|
|
@ -1,2 +0,0 @@
|
|||
* Исправлен баг с фокусировкой на клавиатуре при вводе сообщений
|
||||
* Устранены возможные сбои, вызванные NullPointerException (NPE)
|
|
@ -1,2 +0,0 @@
|
|||
* Виправлено баґ з фокусом клавіатури під час набору тексту
|
||||
* Усунено можливі збої, спричинені NullPointerException (NPE)
|
|
@ -1388,7 +1388,7 @@ public class ConversationFragment extends XmppFragment
|
|||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setHasOptionsMenu(true);
|
||||
if (savedInstanceState == null && conversation != null) {
|
||||
if (savedInstanceState == null) {
|
||||
conversation.jumpToLatest();
|
||||
}
|
||||
}
|
||||
|
@ -3233,19 +3233,10 @@ public class ConversationFragment extends XmppFragment
|
|||
.setOpenConversation(this.conversation);
|
||||
|
||||
if (commandAdapter != null && conversation != originalConversation) {
|
||||
View currentFocus = null;
|
||||
if (activity != null) {
|
||||
currentFocus = activity.getCurrentFocus();
|
||||
}
|
||||
conversation.setupViewPager(binding.conversationViewPager, binding.tabLayout, originalConversation);
|
||||
refreshCommands();
|
||||
maybeRestoreMessageInputFocus(currentFocus);
|
||||
}
|
||||
if (commandAdapter == null && conversation != null) {
|
||||
View currentFocus = null;
|
||||
if (activity != null) {
|
||||
currentFocus = activity.getCurrentFocus();
|
||||
}
|
||||
conversation.setupViewPager(binding.conversationViewPager, binding.tabLayout, null);
|
||||
commandAdapter = new CommandAdapter((XmppActivity) getActivity());
|
||||
binding.commandsView.setAdapter(commandAdapter);
|
||||
|
@ -3256,7 +3247,6 @@ public class ConversationFragment extends XmppFragment
|
|||
activity.startCommand(conversation.getAccount(), command.getAttributeAsJid("jid"), command.getAttribute("node"));
|
||||
});
|
||||
refreshCommands();
|
||||
maybeRestoreMessageInputFocus(currentFocus);
|
||||
}
|
||||
|
||||
previousClickedReply = null;
|
||||
|
@ -3301,12 +3291,6 @@ public class ConversationFragment extends XmppFragment
|
|||
}
|
||||
}
|
||||
|
||||
private void maybeRestoreMessageInputFocus(View currentFocus) {
|
||||
if (currentFocus == this.binding.textinput) {
|
||||
this.binding.textinput.requestFocus();
|
||||
}
|
||||
}
|
||||
|
||||
private void resetUnreadMessagesCount() {
|
||||
lastMessageUuid = null;
|
||||
hideUnreadMessagesCount();
|
||||
|
|
Loading…
Reference in a new issue