Skip to content

Commit e504d61

Browse files
committed
Change DeviceInfo to DeviceSpecs, adapting to this change: AsteroidOS/asteroid-launcher#178
1 parent e458018 commit e504d61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qml/QuickSettingsPage.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ Item {
8585
//% "Vibration"
8686
{ id: "hapticsToggle", name: qsTrId("id-toggle-haptics"), icon: "ios-watch-vibrating", available: true },
8787
//% "Wifi Toggle"
88-
{ id: "wifiToggle", name: qsTrId("id-toggle-wifi"), icon: "ios-wifi-outline", available: DeviceInfo.hasWlan },
88+
{ id: "wifiToggle", name: qsTrId("id-toggle-wifi"), icon: "ios-wifi-outline", available: DeviceSpecs.hasWlan },
8989
//% "Mute Sound"
90-
{ id: "soundToggle", name: qsTrId("id-toggle-sound"), icon: "ios-sound-indicator-high", available: DeviceInfo.hasSpeaker },
90+
{ id: "soundToggle", name: qsTrId("id-toggle-sound"), icon: "ios-sound-indicator-high", available: DeviceSpecs.hasSpeaker },
9191
//% "Cinema Mode"
9292
{ id: "cinemaToggle", name: qsTrId("id-toggle-cinema"), icon: "ios-film-outline", available: true },
9393
//% "AoD Toggle"

0 commit comments

Comments
 (0)