mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-10 21:37:09 +00:00
mobile: what's new in 4.6 (#2058)
* ios: what's new in 4.6 * android: what's new in 4.6
This commit is contained in:
committed by
GitHub
parent
1db61be860
commit
0fac2187f0
@@ -270,8 +270,45 @@ private val versionDescriptions: List<VersionDescription> = listOf(
|
||||
link = "https://github.com/simplex-chat/simplex-chat/tree/stable#translate-the-apps"
|
||||
)
|
||||
)
|
||||
)
|
||||
),
|
||||
VersionDescription(
|
||||
version = "v4.6",
|
||||
features = listOf(
|
||||
FeatureDescription(
|
||||
icon = Icons.Outlined.Lock,
|
||||
titleId = R.string.v4_6_hidden_chat_profiles,
|
||||
descrId = R.string.v4_6_hidden_chat_profiles_descr
|
||||
),
|
||||
FeatureDescription(
|
||||
icon = Icons.Outlined.Flag,
|
||||
titleId = R.string.v4_6_group_moderation,
|
||||
descrId = R.string.v4_6_group_moderation_descr
|
||||
),
|
||||
FeatureDescription(
|
||||
icon = Icons.Outlined.MapsUgc,
|
||||
titleId = R.string.v4_6_group_welcome_message,
|
||||
descrId = R.string.v4_6_group_welcome_message_descr
|
||||
),
|
||||
FeatureDescription(
|
||||
icon = Icons.Outlined.Call,
|
||||
titleId = R.string.v4_6_audio_video_calls,
|
||||
descrId = R.string.v4_6_audio_video_calls_descr
|
||||
),
|
||||
FeatureDescription(
|
||||
icon = Icons.Outlined.Battery3Bar,
|
||||
titleId = R.string.v4_6_reduced_battery_usage,
|
||||
descrId = R.string.v4_6_reduced_battery_usage_descr
|
||||
),
|
||||
FeatureDescription(
|
||||
icon = Icons.Outlined.Translate,
|
||||
titleId = R.string.v4_6_chinese_spanish_interface,
|
||||
descrId = R.string.v4_6_chinese_spanish_interface_descr,
|
||||
link = "https://github.com/simplex-chat/simplex-chat/tree/stable#translate-the-apps"
|
||||
)
|
||||
)
|
||||
),
|
||||
)
|
||||
|
||||
private val lastVersion = versionDescriptions.last().version
|
||||
|
||||
fun setLastVersionDefault(m: ChatModel) {
|
||||
|
||||
@@ -1158,4 +1158,16 @@
|
||||
<string name="v4_5_reduced_battery_usage_descr">More improvements are coming soon!</string>
|
||||
<string name="v4_5_italian_interface">Italian interface</string>
|
||||
<string name="v4_5_italian_interface_descr">Thanks to the users – contribute via Weblate!</string>
|
||||
<string name="v4_6_hidden_chat_profiles">Hidden chat profiles</string>
|
||||
<string name="v4_6_hidden_chat_profiles_descr">Protect your chat profiles with a password!</string>
|
||||
<string name="v4_6_audio_video_calls">Audio and video calls</string>
|
||||
<string name="v4_6_audio_video_calls_descr">Support bluetooth and other improvements.</string>
|
||||
<string name="v4_6_group_moderation">Group moderation</string>
|
||||
<string name="v4_6_group_moderation_descr">Now admins can:\n- delete members\' messages.\n- disable members (\"observer\" role)</string>
|
||||
<string name="v4_6_group_welcome_message">Group welcome message</string>
|
||||
<string name="v4_6_group_welcome_message_descr">Set the message shown to new members!</string>
|
||||
<string name="v4_6_reduced_battery_usage">Further reduced battery usage</string>
|
||||
<string name="v4_6_reduced_battery_usage_descr">More improvements are coming soon!</string>
|
||||
<string name="v4_6_chinese_spanish_interface">Chinese and Spanish interface</string>
|
||||
<string name="v4_6_chinese_spanish_interface_descr">Thanks to the users – contribute via Weblate!</string>
|
||||
</resources>
|
||||
|
||||
@@ -223,8 +223,8 @@ struct GroupChatInfoView: View {
|
||||
.navigationBarTitleDisplayMode(.large)
|
||||
} label: {
|
||||
groupInfo.groupProfile.description == nil
|
||||
? Label("Add welcome message", systemImage: "plus.bubble.fill")
|
||||
: Label("Welcome message", systemImage: "plus.bubble.fill")
|
||||
? Label("Add welcome message", systemImage: "plus.message")
|
||||
: Label("Welcome message", systemImage: "message")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -129,6 +129,41 @@ private let versionDescriptions: [VersionDescription] = [
|
||||
description: "Thanks to the users – [contribute via Weblate](https://github.com/simplex-chat/simplex-chat/tree/stable#translate-the-apps)!"
|
||||
)
|
||||
]
|
||||
),
|
||||
VersionDescription(
|
||||
version: "v4.6",
|
||||
features: [
|
||||
FeatureDescription(
|
||||
icon: "lock",
|
||||
title: "Hidden chat profiles",
|
||||
description: "Protect your chat profiles with a password!"
|
||||
),
|
||||
FeatureDescription(
|
||||
icon: "phone.arrow.up.right",
|
||||
title: "Audio and video calls",
|
||||
description: "Fully re-implemented - work in background!"
|
||||
),
|
||||
FeatureDescription(
|
||||
icon: "flag",
|
||||
title: "Group moderation",
|
||||
description: "Now admins can:\n- delete members' messages.\n- disable members (\"observer\" role)"
|
||||
),
|
||||
FeatureDescription(
|
||||
icon: "plus.message",
|
||||
title: "Group welcome message",
|
||||
description: "Set the message shown to new members!"
|
||||
),
|
||||
FeatureDescription(
|
||||
icon: "battery.50",
|
||||
title: "Further reduced battery usage",
|
||||
description: "More improvements are coming soon!"
|
||||
),
|
||||
FeatureDescription(
|
||||
icon: "character",
|
||||
title: "Chinese and Spanish interface",
|
||||
description: "Thanks to the users – [contribute via Weblate](https://github.com/simplex-chat/simplex-chat/tree/stable#translate-the-apps)!"
|
||||
),
|
||||
]
|
||||
)
|
||||
]
|
||||
|
||||
@@ -182,6 +217,9 @@ struct WhatsNewView: View {
|
||||
pagination()
|
||||
}
|
||||
.padding()
|
||||
.onChange(of: currentVersion) { _ in
|
||||
currentVersionNav = currentVersion
|
||||
}
|
||||
}
|
||||
|
||||
private func featureDescription(_ icon: String, _ title: LocalizedStringKey, _ description: LocalizedStringKey) -> some View {
|
||||
|
||||
Reference in New Issue
Block a user