Skip to content

Commit

Permalink
Merge pull request #1293 from Sukrit-Prakash/sukrit-branch
Browse files Browse the repository at this point in the history
Some new devices added to devicelist.ts
  • Loading branch information
manojVivek authored Sep 9, 2024
2 parents 0dafcb8 + 6600efe commit 6f9af13
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions desktop-app/src/common/deviceList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,19 @@ export const defaultDevices: Device[] = [
isTouchCapable: true,
isMobileCapable: true,
},
{
id: '20016',
name: 'Pixel 7',
width: 412,
height: 915,
dpr: 2.625,
capabilities: ['touch', 'mobile'],
userAgent:
'Mozilla/5.0 (Linux; Android 13; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.120 Mobile Safari/537.36',
type: 'phone',
isTouchCapable: true,
isMobileCapable: true,
},
{
id: '30001',
name: 'Samsung Galaxy S8+',
Expand Down Expand Up @@ -675,6 +688,19 @@ export const defaultDevices: Device[] = [
isTouchCapable: true,
isMobileCapable: true,
},
{
id: '30018',
name: 'Galaxy Z Fold 5',
width: 344,
height: 882,
dpr: 1,
capabilities: ['touch', 'mobile'],
userAgent:
'Mozilla/5.0 (Linux; Android 13; SM-F946B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.131 Mobile Safari/537.36',
type: 'phone',
isTouchCapable: true,
isMobileCapable: true,
},
{
id: '40001',
name: 'Nokia Lumia 520',
Expand Down Expand Up @@ -870,6 +896,19 @@ export const defaultDevices: Device[] = [
isTouchCapable: false,
isMobileCapable: false,
},
{
id: '90004',
name: 'Asus Zenbook Fold',
width: 853,
height: 1280,
dpr: 2,
capabilities: ['touch', 'tablet'],
userAgent:
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36',
type: 'tablet',
isTouchCapable: true,
isMobileCapable: false,
},
];

const customDevices: () => Device[] = () => {
Expand Down

0 comments on commit 6f9af13

Please sign in to comment.