Skip to content

Commit

Permalink
pix: 不用判断系统是否有英文输入法, 因为系统自带的
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaXxl committed Aug 14, 2024
1 parent 8477b00 commit ccf074d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/qml/window/MainWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ FluWindow {
}
}

Component.onCompleted: {
var isEnglishInputInstalled = ControlInputLayout.isEnglishInputInstalled()
if (!isEnglishInputInstalled) {
dialog.open()
}
}
// Component.onCompleted: {
// var isEnglishInputInstalled = ControlInputLayout.isEnglishInputInstalled()
// if (!isEnglishInputInstalled) {
// dialog.open()
// }
// }

function changeDark() {
FluTheme.darkMode = FluTheme.dark ? FluThemeType.Light : FluThemeType.Dark
Expand Down

0 comments on commit ccf074d

Please sign in to comment.