Skip to content

Commit

Permalink
Merge branch 'shiftkey:linux' into linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Madeindreams authored Dec 19, 2023
2 parents 1d8752b + 3199962 commit c2162a7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ jobs:
cache: yarn

- name: Download all artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
path: './artifacts'

Expand Down
8 changes: 7 additions & 1 deletion app/src/ui/dispatcher/dispatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2472,8 +2472,14 @@ export class Dispatcher {
* Set the title bar style for the application
*/
public async setTitleBarStyle(titleBarStyle: TitleBarStyle) {
const existingState = this.appStore.getState()
const { titleBarStyle: existingTitleBarStyle } = existingState

await this.appStore._setTitleBarStyle(titleBarStyle)
this.showPopup({ type: PopupType.ConfirmRestart })

if (titleBarStyle !== existingTitleBarStyle) {
this.showPopup({ type: PopupType.ConfirmRestart })
}
}

/**
Expand Down

0 comments on commit c2162a7

Please sign in to comment.