diff --git a/frontend/src/components/PhoneControlCenter.vue b/frontend/src/components/PhoneControlCenter.vue
index c84fc5c..f7656b1 100644
--- a/frontend/src/components/PhoneControlCenter.vue
+++ b/frontend/src/components/PhoneControlCenter.vue
@@ -6,11 +6,9 @@ import {
Calculator,
Camera,
Flashlight,
- LockKeyhole,
Moon,
Plane,
Play,
- RotateCw,
Signal,
SkipBack,
SkipForward,
@@ -40,7 +38,6 @@ type ConnectivityPreference =
| 'bluetoothEnabled'
| 'cellularEnabled'
| 'focusMode'
- | 'rotationLocked'
| 'wifiEnabled'
const phone = usePhoneStore()
@@ -62,14 +59,6 @@ const inactiveGlassColors = {
bgIos: 'bg-[rgba(72,72,74,0.58)]',
shadowIos: 'shadow-ios-dark-glass',
}
-const rotationColors = computed(() =>
- phone.preferences.settings.rotationLocked
- ? {
- bgIos: 'bg-white',
- shadowIos: 'shadow-ios-light-glass',
- }
- : inactiveGlassColors,
-)
const focusColors = computed(() =>
phone.preferences.settings.focusMode
? {
@@ -355,29 +344,9 @@ onBeforeUnmount(() => {
-
-
-
-
-
-
-
-
+
{
{
{
justify-content: center;
}
+.control-center__round-control--wide {
+ grid-column: 1 / span 2;
+}
+
.control-center__round-control > span,
.control-center__quick-action > span {
width: 100%;
@@ -791,13 +764,6 @@ onBeforeUnmount(() => {
stroke-width: 2;
}
-.control-center__round-button .control-center__rotation-lock {
- position: absolute;
- width: 13px;
- height: 13px;
- stroke-width: 2.5;
-}
-
.control-center__slider {
position: relative;
grid-row: 1 / span 2;
@@ -808,6 +774,14 @@ onBeforeUnmount(() => {
touch-action: none;
}
+.control-center__slider--brightness {
+ grid-column: 3;
+}
+
+.control-center__slider--volume {
+ grid-column: 4;
+}
+
.control-center__slider-level {
position: absolute;
z-index: 0;
@@ -862,7 +836,7 @@ onBeforeUnmount(() => {
color: #bf5af2 !important;
}
-.control-center__slider:nth-child(3) .control-center__slider-icon {
+.control-center__slider--brightness .control-center__slider-icon {
color: #ffd60a;
}
diff --git a/frontend/src/stores/phone.ts b/frontend/src/stores/phone.ts
index db125cc..9230f41 100644
--- a/frontend/src/stores/phone.ts
+++ b/frontend/src/stores/phone.ts
@@ -1926,7 +1926,7 @@ const defaultLocales: LocaleTree = {
bluetooth: 'Bluetooth',
cellular: 'Cellular',
connectivityDescription:
- 'Airplane Mode temporarily disables wireless connections. Wi-Fi, Bluetooth, and cellular settings are saved on this phone.',
+ 'Wi-Fi, Bluetooth, and cellular settings are saved on this phone.',
focus: 'Focus',
focusMode: 'Focus',
focusDescription:
@@ -1953,7 +1953,6 @@ const defaultLocales: LocaleTree = {
phoneScale: 'Phone Scale',
phoneFrame: 'Phone Frame',
screenBrightness: 'Screen Brightness',
- rotationLock: 'Rotation Lock',
about: 'About',
deviceName: 'Device Name',
deviceNameValue: 'Sky Phone',
@@ -2024,7 +2023,6 @@ const defaultLocales: LocaleTree = {
wifiEnabled: 'Toggle Wi-Fi',
bluetoothEnabled: 'Toggle Bluetooth',
cellularEnabled: 'Toggle Cellular Data',
- rotationLocked: 'Toggle Rotation Lock',
notifications: 'Toggle notifications for {app}',
notificationSounds: 'Toggle notification sounds for {app}',
},
@@ -2081,7 +2079,6 @@ const defaultLocales: LocaleTree = {
play: 'Play',
previous: 'Previous track',
quickActions: 'Quick actions',
- rotationLock: 'Rotation Lock',
timer: 'Timer',
unmuteRingtone: 'Unmute ringtone and notifications',
volume: 'Volume',
diff --git a/frontend/src/utils/preferences.test.ts b/frontend/src/utils/preferences.test.ts
index b617fad..45a0cef 100644
--- a/frontend/src/utils/preferences.test.ts
+++ b/frontend/src/utils/preferences.test.ts
@@ -25,7 +25,6 @@ describe('preferences', () => {
clock: { enabled: false, sounds: false },
},
phoneScale: 110,
- rotationLocked: true,
screenBrightness: 64,
wallpaper: 'ember',
wifiEnabled: false,
@@ -53,7 +52,6 @@ describe('preferences', () => {
sounds: true,
})
expect(value.settings.phoneScale).toBe(110)
- expect(value.settings.rotationLocked).toBe(true)
expect(value.settings.screenBrightness).toBe(64)
expect(value.settings.wallpaper).toBe('ember')
expect(value.settings.wifiEnabled).toBe(false)
@@ -97,7 +95,6 @@ describe('preferences', () => {
cellularEnabled: true,
focusMode: false,
graphicsMode: 'performance',
- rotationLocked: false,
screenBrightness: 100,
wifiEnabled: true,
})
diff --git a/frontend/src/utils/preferences.ts b/frontend/src/utils/preferences.ts
index baf72b2..ef14b71 100644
--- a/frontend/src/utils/preferences.ts
+++ b/frontend/src/utils/preferences.ts
@@ -54,7 +54,6 @@ export type PhonePreferencesV1 = {
phoneScale: number
ringtone: RingtoneId
ringtoneVolume: number
- rotationLocked: boolean
screenBrightness: number
streamerMode: boolean
wallpaper: WallpaperId
@@ -114,7 +113,6 @@ export const DEFAULT_PHONE_PREFERENCES: PhonePreferencesV1 = {
phoneScale: 100,
ringtone: 'skyline',
ringtoneVolume: 80,
- rotationLocked: false,
screenBrightness: 100,
streamerMode: false,
wallpaper: 'midnight',
@@ -244,10 +242,6 @@ export function parsePhonePreferences(raw: string | null): PhonePreferencesV1 {
0,
100,
),
- rotationLocked: readBoolean(
- settings.rotationLocked,
- defaults.rotationLocked,
- ),
screenBrightness: readNumber(
settings.screenBrightness,
defaults.screenBrightness,
diff --git a/frontend/src/views/apps/SettingsApp.vue b/frontend/src/views/apps/SettingsApp.vue
index 679b91a..f390faa 100644
--- a/frontend/src/views/apps/SettingsApp.vue
+++ b/frontend/src/views/apps/SettingsApp.vue
@@ -32,7 +32,6 @@ import {
Moon,
Plane,
RotateCcw,
- RotateCw,
Settings,
Signal,
Smartphone,
@@ -1210,23 +1209,6 @@ onBeforeUnmount(() => {
-
-
-
-
-
-
-
-
-
-
-
-
-
{{
phone.t('Apps.settings.connections')
}}
@@ -1437,25 +1419,6 @@ onBeforeUnmount(() => {
-
-
-
-
-
-
-
-
-
-
diff --git a/sky_phone/config/locales/en.lua b/sky_phone/config/locales/en.lua
index 5254a30..c58e896 100644
--- a/sky_phone/config/locales/en.lua
+++ b/sky_phone/config/locales/en.lua
@@ -40,7 +40,7 @@ Locales["en"] = {
camera = "Camera", cellular = "Cellular Data", close = "Close Control Center", flashlight = "Flashlight",
focus = "Focus", label = "Control Center", media = "Media", muteRingtone = "Mute ringtone and notifications", next = "Next track", notPlaying = "Not Playing",
open = "Open Control Center", play = "Play", previous = "Previous track", quickActions = "Quick actions",
- rotationLock = "Rotation Lock", timer = "Timer", unmuteRingtone = "Unmute ringtone and notifications", volume = "Volume", wifi = "Wi-Fi",
+ timer = "Timer", unmuteRingtone = "Unmute ringtone and notifications", volume = "Volume", wifi = "Wi-Fi",
},
Notifications = { now = "now" },
LockScreen = {
@@ -737,7 +737,7 @@ Locales["en"] = {
accountPurchasesValue = "Available", notifications = "Notifications", sounds = "Sounds & Haptics",
general = "General Settings", security = "Passcode & Security", appearance = "Appearance", allowNotifications = "Allow Notifications",
connectivity = "Connectivity", connections = "Connections", wifi = "Wi-Fi", bluetooth = "Bluetooth", cellular = "Cellular",
- connectivityDescription = "Airplane Mode temporarily disables wireless connections. Wi-Fi, Bluetooth, and cellular settings are saved on this phone.",
+ connectivityDescription = "Wi-Fi, Bluetooth, and cellular settings are saved on this phone.",
focus = "Focus", focusMode = "Focus", focusDescription = "Focus silences non-critical notifications while keeping alarms and important alerts available.",
notificationSounds = "Sounds", notificationDuration = "Notification Duration", seconds = "{seconds} seconds",
ringtoneVolume = "Ringtone Volume", notificationVolume = "Notification Volume",
@@ -746,7 +746,7 @@ Locales["en"] = {
ultimateMode = "Ultimate Mode", ultimateModeDescription = "Full blur and glass effects for compatible FiveM clients",
appearanceMode = "Appearance Mode",
automatic = "Automatic", light = "Light", dark = "Dark", phoneScale = "Phone Scale", phoneFrame = "Phone Frame",
- screenBrightness = "Screen Brightness", rotationLock = "Rotation Lock",
+ screenBrightness = "Screen Brightness",
about = "About", deviceName = "Device Name", deviceNameValue = "Sky Phone", softwareVersion = "Software Version",
language = "Language", languageValue = "English", localStorage = "Local Storage", localStorageValue = "On Device",
back = "Settings", wallpaperPicker = "Built-in Wallpapers", deviceInformation = "Device Information",
@@ -774,7 +774,6 @@ Locales["en"] = {
toggle = {
airplaneMode = "Toggle Airplane Mode", streamerMode = "Toggle Streamer Mode", focusMode = "Toggle Focus",
wifiEnabled = "Toggle Wi-Fi", bluetoothEnabled = "Toggle Bluetooth", cellularEnabled = "Toggle Cellular Data",
- rotationLocked = "Toggle Rotation Lock",
notifications = "Toggle notifications for {app}", notificationSounds = "Toggle notification sounds for {app}",
},
frames = {