Removing prints from reactions_align

This commit is contained in:
Leandro Borges Ferreira
2023-02-15 19:40:51 +01:00
parent 8ad70e02e4
commit 91b8012964
@@ -53,11 +53,6 @@ double _portraitAlign(
num divFactor,
bool hasAttachments,
) {
print('INFO - max width: $maxWidth. '
'maxHeight: $maxHeight '
'shiftFactor: $shiftFactor '
'divFactor: $divFactor');
var result = 0.0;
// This is an empiric value. This number tries to approximate all the
@@ -106,16 +101,11 @@ double _landScapeAlign(
) {
var result = 0.0;
print('INFO - max width: $maxWidth. '
'maxHeight: $maxHeight '
'shiftFactor: $shiftFactor '
'divFactor: $divFactor');
/*
This is an empiric value. This number tries to approximate all the
offset necessary for the position of reaction look the best way
possible.
*/
This is an empiric value. This number tries to approximate all the
offset necessary for the position of reaction look the best way
possible.
*/
const constant = 3000;
if (user?.id == message.user?.id) {
@@ -133,8 +123,6 @@ double _landScapeAlign(
}
}
print('INFO - result landscape: $result');
// Ensure reactions don't get pushed past the edge of the screen.
//
// This happens if divFactor is really big. When this happens, we can simply