mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
Fix crash
This commit is contained in:
parent
cc7f93688f
commit
6bf90d7d5d
@ -201,7 +201,6 @@ import org.thoughtcrime.securesms.stickers.StickerManagementActivity;
|
|||||||
import org.thoughtcrime.securesms.stickers.StickerPackInstallEvent;
|
import org.thoughtcrime.securesms.stickers.StickerPackInstallEvent;
|
||||||
import org.thoughtcrime.securesms.stickers.StickerSearchRepository;
|
import org.thoughtcrime.securesms.stickers.StickerSearchRepository;
|
||||||
import org.thoughtcrime.securesms.util.BitmapUtil;
|
import org.thoughtcrime.securesms.util.BitmapUtil;
|
||||||
import org.thoughtcrime.securesms.util.CharacterCalculator.CharacterState;
|
|
||||||
import org.thoughtcrime.securesms.util.CommunicationActions;
|
import org.thoughtcrime.securesms.util.CommunicationActions;
|
||||||
import org.thoughtcrime.securesms.util.Dialogs;
|
import org.thoughtcrime.securesms.util.Dialogs;
|
||||||
import org.thoughtcrime.securesms.util.DirectoryHelper;
|
import org.thoughtcrime.securesms.util.DirectoryHelper;
|
||||||
@ -1983,6 +1982,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void calculateCharactersRemaining() {
|
private void calculateCharactersRemaining() {
|
||||||
|
/*
|
||||||
String messageBody = composeText.getTextTrimmed();
|
String messageBody = composeText.getTextTrimmed();
|
||||||
TransportOption transportOption = sendButton.getSelectedTransport();
|
TransportOption transportOption = sendButton.getSelectedTransport();
|
||||||
CharacterState characterState = transportOption.calculateCharacters(messageBody);
|
CharacterState characterState = transportOption.calculateCharacters(messageBody);
|
||||||
@ -1997,6 +1997,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||||||
} else {
|
} else {
|
||||||
charactersLeft.setVisibility(View.GONE);
|
charactersLeft.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initializeMediaKeyboardProviders(@NonNull MediaKeyboard mediaKeyboard, boolean stickersAvailable) {
|
private void initializeMediaKeyboardProviders(@NonNull MediaKeyboard mediaKeyboard, boolean stickersAvailable) {
|
||||||
|
Loading…
Reference in New Issue
Block a user