Fixing images alignment in portrait mode
This commit is contained in:
@@ -97,8 +97,9 @@ double _landScapeAlign(
|
|||||||
possible.
|
possible.
|
||||||
*/
|
*/
|
||||||
const constant = 3000;
|
const constant = 3000;
|
||||||
|
if (hasAttachments) {
|
||||||
if (user?.id == message.user?.id) {
|
result = 0;
|
||||||
|
} else if (user?.id == message.user?.id) {
|
||||||
if (divFactor >= 1.7) {
|
if (divFactor >= 1.7) {
|
||||||
result = shiftFactor - maxWidth / constant;
|
result = shiftFactor - maxWidth / constant;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user