Fix: Revert wrongful removal of callback bridge vars
This commit is contained in:
1 parent
89929b5e21
commit
0a385781ed
1 file changed
+3
@@ -524,6 +524,9 @@ public final class Tools {
|
||||
|
||||
public static void updateWindowSize(Activity activity) {
|
||||
currentDisplayMetrics = getDisplayMetrics(activity);
|
||||
|
||||
CallbackBridge.physicalWidth = currentDisplayMetrics.widthPixels;
|
||||
CallbackBridge.physicalHeight = currentDisplayMetrics.heightPixels;
|
||||
}
|
||||
|
||||
public static float dpToPx(float dp) {
|
||||
|
||||
Reference in new issue
Block a user