mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 09:17:44 +00:00
Defualt height for attachment selector.
This commit is contained in:
parent
d75dba401d
commit
4b0179f859
@ -475,6 +475,11 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||||||
}
|
}
|
||||||
collapsedKeyboardHeight = Math.min(collapsedKeyboardHeight, height);
|
collapsedKeyboardHeight = Math.min(collapsedKeyboardHeight, height);
|
||||||
keyboardHeight = expandedKeyboardHeight - collapsedKeyboardHeight;
|
keyboardHeight = expandedKeyboardHeight - collapsedKeyboardHeight;
|
||||||
|
|
||||||
|
// Use 300dp if the keyboard wasn't opened yet.
|
||||||
|
if (keyboardHeight == 0) {
|
||||||
|
keyboardHeight = (int)(300f * getResources().getDisplayMetrics().density);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -493,6 +498,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onNewIntent(Intent intent) {
|
protected void onNewIntent(Intent intent) {
|
||||||
|
super.onNewIntent(intent);
|
||||||
Log.i(TAG, "onNewIntent()");
|
Log.i(TAG, "onNewIntent()");
|
||||||
|
|
||||||
if (isFinishing()) {
|
if (isFinishing()) {
|
||||||
|
@ -33,6 +33,7 @@ import org.whispersystems.signalservice.loki.utilities.hexEncodedPublicKey
|
|||||||
import org.whispersystems.signalservice.loki.utilities.toHexString
|
import org.whispersystems.signalservice.loki.utilities.toHexString
|
||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
import kotlin.jvm.Throws
|
||||||
|
|
||||||
object ClosedGroupsProtocol {
|
object ClosedGroupsProtocol {
|
||||||
val isSharedSenderKeysEnabled = false
|
val isSharedSenderKeysEnabled = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user