Skip to content

Commit

Permalink
fix: crash on iOS 9 (attempting to change configurable...)
Browse files Browse the repository at this point in the history
Don't override FeatureClass.name, which is non-writable on iOS 9.

Fix #3
  • Loading branch information
jsamr committed Nov 25, 2020
1 parent a2e3ccd commit 177e96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webshell/src/FeatureBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export class FeatureBuilder<
);
}
};
Object.defineProperty(ctor, 'name', {
Object.defineProperty(ctor, 'displayName', {
configurable: true,
enumerable: false,
writable: false,
Expand Down

0 comments on commit 177e96b

Please sign in to comment.