Skip to content

Commit

Permalink
fix uni native not in browser list
Browse files Browse the repository at this point in the history
  • Loading branch information
qkang07 authored and wqcstrong committed May 29, 2024
1 parent 56b6eb1 commit 6826a1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/RoomList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const RoomList = () => {
const BrowserOptions = useMemo(() => {
return AllBrowserTypes.filter((browser) => {
return connectionList?.some(
(conn) => conn.browser.name.toLocaleLowerCase() === browser,
(conn) => conn.browser.type.toLocaleLowerCase() === browser,
);
}).map((name) => {
return {
Expand Down
1 change: 1 addition & 0 deletions src/utils/brand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export const AllBrowserTypes: SpyDevice.Browser[] = [
'uc',
'wechat',
'qq',
'uni-native',
'unknown',
];

Expand Down

0 comments on commit 6826a1b

Please sign in to comment.