Skip to content

Commit

Permalink
fix: Improve settings app getter
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach authored Jan 25, 2024
1 parent 4f7a31b commit c281d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ class AndroidDriver
}

get settingsApp(): SettingsApp {
if (!this._settingsApp) {
if (!this._settingsApp || this._settingsApp.adb !== this.adb) {
this._settingsApp = new SettingsApp({adb: this.adb});
}
return this._settingsApp;
Expand Down

0 comments on commit c281d98

Please sign in to comment.