Revert "fix(platform): add OnePlus detection to Oppo family device check"
This reverts commit 85ee34e3f7.
This commit is contained in:
@@ -94,7 +94,7 @@ export class PlatformDetector {
|
||||
static isOppoFamilyDevice(ua: string | null = null): boolean {
|
||||
const info = PlatformDetector.getPlatformInfo(ua);
|
||||
const target = `${info.deviceVendor} ${info.deviceModel} ${info.userAgent}`;
|
||||
return /\b(OPPO|OPlus|OnePlus|ColorOS|CPH\d{3,})\b/i.test(target);
|
||||
return /\b(OPPO|OPlus|ColorOS|CPH\d{3,})\b/i.test(target);
|
||||
}
|
||||
|
||||
private static getUserAgent(ua: string | null = null): string {
|
||||
|
||||
Reference in New Issue
Block a user