Compare commits
72 commits
Author | SHA1 | Date | |
---|---|---|---|
Sergei Poljanski | c8c16f3891 | ||
Sergei Poljanski | 2335c5d699 | ||
Sergei Poljanski | b9759a256a | ||
Sergei Poljanski | 6aff5c5105 | ||
Sergei Poljanski | 210d1c9ac0 | ||
kosyak | 44acdbd2cb | ||
kosyak | 414b0c7978 | ||
Sergei Poljanski | 82d21d51bb | ||
Sergei Poljanski | add880e928 | ||
Sergei Poljanski | a8fa7e5350 | ||
Sergei Poljanski | 9e4780dc06 | ||
kosyak | 64a8154560 | ||
kosyak | f511be6e63 | ||
kosyak | 201877e6bf | ||
kosyak | 27d4e8b617 | ||
Sergei Poljanski | 68df9a1d6e | ||
Sergei Poljanski | 461fdf28f6 | ||
Sergei Poljanski | 7771bd19c0 | ||
Pavel R. | 63d6a56e60 | ||
Pavel R. | 25c5f663b0 | ||
Bohdan Horbeshko | 57da0ab5d4 | ||
Sergei Poljanski | 093751b0c1 | ||
Bohdan Horbeshko | 8ce99bb00d | ||
Sergei Poljanski | cb85e2c32e | ||
Sergei Poljanski | e3c64d2534 | ||
Sergei Poljanski | 3e33800d0e | ||
Sergei Poljanski | 527494f33a | ||
Sergei Poljanski | 1bae950d60 | ||
Bohdan Horbeshko | f049d5409f | ||
Sergei Poljanski | b15b00009f | ||
kosyak | d8a7051c5d | ||
kosyak | ab56d030fb | ||
kosyak | 32340ac484 | ||
Bohdan Horbeshko | 52e4be556b | ||
kosyak | 4990ac0a23 | ||
kosyak | 8772c9fd73 | ||
kosyak | e1e2de8a76 | ||
kosyak | 948fd85a43 | ||
kosyak | bf43f5ddfd | ||
kosyak | 82134599ef | ||
kosyak | e72b866fce | ||
kosyak | b18f042b8b | ||
kosyak | a66fa08be4 | ||
kosyak | 07c730098e | ||
kosyak | 0a99844a71 | ||
kosyak | c4bda2baf1 | ||
kosyak | 88ad3f6940 | ||
kosyak | 1a33af7c15 | ||
kosyak | 5920533cf5 | ||
kosyak | 701c21ae4a | ||
kosyak | 28c633deb8 | ||
kosyak | a1cc201ae7 | ||
kosyak | d6f162fc65 | ||
kosyak | 635e5675d1 | ||
kosyak | 9529831f80 | ||
kosyak | d970679064 | ||
kosyak | cf9ca3cc46 | ||
kosyak | d88d858069 | ||
kosyak | 4431eccc98 | ||
kosyak | 973a48ef62 | ||
kosyak | 389074e802 | ||
kosyak | 1a751b8a80 | ||
kosyak | c32809b963 | ||
kosyak | c64e0925f4 | ||
Sergei Poljanski | 03fcd01ddb | ||
Sergei Poljanski | cf9d0e13b1 | ||
kosyak | 95ee8459b8 | ||
kosyak | 021552b1d4 | ||
kosyak | e3542ccf72 | ||
kosyak | ffbdad7503 | ||
kosyak | 00817b79be | ||
kosyak | 4dab5156e1 |
|
@ -1,5 +1,9 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
### another.im 1.0.1
|
||||||
|
* Fixed message input focus loss
|
||||||
|
* Addressed potential crashes caused by NullPointerException (NPE)
|
||||||
|
|
||||||
### another.im 1.0.0
|
### another.im 1.0.0
|
||||||
* Implementation of OTR chats
|
* Implementation of OTR chats
|
||||||
* Rebranding from Conversation Clasic to another.im
|
* Rebranding from Conversation Clasic to another.im
|
||||||
|
|
|
@ -104,8 +104,8 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 24
|
minSdkVersion 24
|
||||||
targetSdkVersion 34
|
targetSdkVersion 34
|
||||||
versionCode 1
|
versionCode 2
|
||||||
versionName "1.0.0"
|
versionName "1.0.1"
|
||||||
archivesBaseName += "-$versionName"
|
archivesBaseName += "-$versionName"
|
||||||
applicationId "im.narayana.another"
|
applicationId "im.narayana.another"
|
||||||
resValue "string", "applicationId", applicationId
|
resValue "string", "applicationId", applicationId
|
||||||
|
|
2
fastlane/metadata/android/en-US/changelogs/204.txt
Normal file
2
fastlane/metadata/android/en-US/changelogs/204.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
* Fixed message input focus loss
|
||||||
|
* Addressed potential crashes caused by NullPointerException
|
2
fastlane/metadata/android/ru/changelogs/204.txt
Normal file
2
fastlane/metadata/android/ru/changelogs/204.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
* Исправлен баг с фокусировкой на клавиатуре при вводе сообщений
|
||||||
|
* Устранены возможные сбои, вызванные NullPointerException (NPE)
|
2
fastlane/metadata/android/uk/changelogs/204.txt
Normal file
2
fastlane/metadata/android/uk/changelogs/204.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
* Виправлено баґ з фокусом клавіатури під час набору тексту
|
||||||
|
* Усунено можливі збої, спричинені NullPointerException (NPE)
|
|
@ -1388,7 +1388,7 @@ public class ConversationFragment extends XmppFragment
|
||||||
public void onCreate(Bundle savedInstanceState) {
|
public void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
setHasOptionsMenu(true);
|
setHasOptionsMenu(true);
|
||||||
if (savedInstanceState == null) {
|
if (savedInstanceState == null && conversation != null) {
|
||||||
conversation.jumpToLatest();
|
conversation.jumpToLatest();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3233,10 +3233,19 @@ public class ConversationFragment extends XmppFragment
|
||||||
.setOpenConversation(this.conversation);
|
.setOpenConversation(this.conversation);
|
||||||
|
|
||||||
if (commandAdapter != null && conversation != originalConversation) {
|
if (commandAdapter != null && conversation != originalConversation) {
|
||||||
|
View currentFocus = null;
|
||||||
|
if (activity != null) {
|
||||||
|
currentFocus = activity.getCurrentFocus();
|
||||||
|
}
|
||||||
conversation.setupViewPager(binding.conversationViewPager, binding.tabLayout, originalConversation);
|
conversation.setupViewPager(binding.conversationViewPager, binding.tabLayout, originalConversation);
|
||||||
refreshCommands();
|
refreshCommands();
|
||||||
|
maybeRestoreMessageInputFocus(currentFocus);
|
||||||
}
|
}
|
||||||
if (commandAdapter == null && conversation != null) {
|
if (commandAdapter == null && conversation != null) {
|
||||||
|
View currentFocus = null;
|
||||||
|
if (activity != null) {
|
||||||
|
currentFocus = activity.getCurrentFocus();
|
||||||
|
}
|
||||||
conversation.setupViewPager(binding.conversationViewPager, binding.tabLayout, null);
|
conversation.setupViewPager(binding.conversationViewPager, binding.tabLayout, null);
|
||||||
commandAdapter = new CommandAdapter((XmppActivity) getActivity());
|
commandAdapter = new CommandAdapter((XmppActivity) getActivity());
|
||||||
binding.commandsView.setAdapter(commandAdapter);
|
binding.commandsView.setAdapter(commandAdapter);
|
||||||
|
@ -3247,6 +3256,7 @@ public class ConversationFragment extends XmppFragment
|
||||||
activity.startCommand(conversation.getAccount(), command.getAttributeAsJid("jid"), command.getAttribute("node"));
|
activity.startCommand(conversation.getAccount(), command.getAttributeAsJid("jid"), command.getAttribute("node"));
|
||||||
});
|
});
|
||||||
refreshCommands();
|
refreshCommands();
|
||||||
|
maybeRestoreMessageInputFocus(currentFocus);
|
||||||
}
|
}
|
||||||
|
|
||||||
previousClickedReply = null;
|
previousClickedReply = null;
|
||||||
|
@ -3291,6 +3301,12 @@ public class ConversationFragment extends XmppFragment
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void maybeRestoreMessageInputFocus(View currentFocus) {
|
||||||
|
if (currentFocus == this.binding.textinput) {
|
||||||
|
this.binding.textinput.requestFocus();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void resetUnreadMessagesCount() {
|
private void resetUnreadMessagesCount() {
|
||||||
lastMessageUuid = null;
|
lastMessageUuid = null;
|
||||||
hideUnreadMessagesCount();
|
hideUnreadMessagesCount();
|
||||||
|
|
Loading…
Reference in a new issue