MOBILE-3320 core: Consider medium breakpoint as tablet

main
Dani Palou 2021-06-17 12:08:42 +02:00
parent 2b5a17e5b5
commit 33d8a577af
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ export class CoreScreenService {
* @return Active layout.
*/
protected calculateLayout(breakpoints: Record<Breakpoint, boolean>): CoreScreenLayout {
if (breakpoints[Breakpoint.LARGE]) {
if (breakpoints[Breakpoint.MEDIUM]) {
return CoreScreenLayout.TABLET;
}