Every settings section on the phone's list; file cards in colour

On the phone the settings are reached from the You tab's list, which
showed five of the eleven sections: My Account, Profiles, Devices,
Notifications, Integrations and Advanced could only be found through
the picker inside the settings. The list now has all of them, in the
order of the phone's settings design (account, profiles, appearance,
voice and video, streaming, notifications, privacy, devices, then
keybinds, integrations and advanced), each with its chevron.

A file in a chat message showed a grey round icon while the design's
file card, and the conversation panel's shared files, show a document
on a red square (a picture on a blue one); the chat's file card now
does the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
selikhovandClaude Opus 5.5 committed 2026-10-04 04:49:40 +03:00
1 parent 013918cfc9
commit c30c3ae537
2 files changed
+22 -31

No files matched your search

+5 -3
View File
@@ -147,16 +147,18 @@ component FileCard inherits Rectangle {
padding: Theme.space-3;
padding-left: Theme.space-4;
spacing: Theme.space-4;
// A document in red, a picture in blue (as in the profile panel's
// shared files and the design's file cards).
Rectangle {
width: 40px;
height: 40px;
y: (parent.height - self.height) / 2;
border-radius: 20px;
background: Theme.surface-4;
border-radius: Theme.radius-md;
background: file.picture ? Theme.accent-soft : Theme.danger-soft;
Icon {
source: file.picture ? Icons.image : Icons.file-text;
size: Theme.icon-md;
tint: Theme.accent-text;
tint: file.picture ? Theme.accent-text : Theme.danger;
}
}
VerticalLayout {
+17 -28
View File
@@ -195,35 +195,24 @@ export component YouPage inherits ScrollView {
text: @tr("Settings");
small: true;
}
NavItem {
icon: Icons.mic;
text: @tr("Voice & Video");
// Every section, in the order of the phone's settings design.
for item in [
{ icon: Icons.user-round, text: @tr("My Account"), section: SettingsSection.account },
{ icon: Icons.users, text: @tr("Profiles"), section: SettingsSection.profiles },
{ icon: Icons.palette, text: @tr("Appearance"), section: SettingsSection.appearance },
{ icon: Icons.mic, text: @tr("Voice & Video"), section: SettingsSection.voice },
{ icon: Icons.radio, text: @tr("Streaming"), section: SettingsSection.streaming },
{ icon: Icons.bell, text: @tr("Notifications"), section: SettingsSection.notifications },
{ icon: Icons.shield, text: @tr("Privacy & Safety"), section: SettingsSection.privacy },
{ icon: Icons.smartphone, text: @tr("Devices"), section: SettingsSection.devices },
{ icon: Icons.keyboard, text: @tr("Keybinds"), section: SettingsSection.keybinds },
{ icon: Icons.puzzle, text: @tr("Integrations"), section: SettingsSection.integrations },
{ icon: Icons.settings, text: @tr("Advanced"), section: SettingsSection.advanced },
]: NavItem {
icon: item.icon;
text: item.text;
chevron: true;
clicked => { Nav.open-settings(SettingsSection.voice); }
}
NavItem {
icon: Icons.keyboard;
text: @tr("Keybinds");
chevron: true;
clicked => { Nav.open-settings(SettingsSection.keybinds); }
}
NavItem {
icon: Icons.radio;
text: @tr("Streaming");
chevron: true;
clicked => { Nav.open-settings(SettingsSection.streaming); }
}
NavItem {
icon: Icons.shield;
text: @tr("Privacy & Safety");
chevron: true;
clicked => { Nav.open-settings(SettingsSection.privacy); }
}
NavItem {
icon: Icons.palette;
text: @tr("Appearance");
chevron: true;
clicked => { Nav.open-settings(SettingsSection.appearance); }
clicked => { Nav.open-settings(item.section); }
}
NavItem {
icon: Icons.info;