Add Yunxi voice, comment out today buttons for now
This commit is contained in:
@ -580,7 +580,7 @@ struct AnimatingCellHeight: AnimatableModifier {
|
||||
}
|
||||
}
|
||||
|
||||
ForEach(Array(viewModel.items.enumerated()), id: \.1.unwrappedID) { idx, item in
|
||||
ForEach(Array(viewModel.items.enumerated()), id: \.1.unwrappedID) { _, item in
|
||||
FeedCardNavigationLink(
|
||||
item: item,
|
||||
isInMultiSelectMode: viewModel.isInMultiSelectMode,
|
||||
@ -612,15 +612,15 @@ struct AnimatingCellHeight: AnimatableModifier {
|
||||
swipeActionButton(action: action, item: item)
|
||||
}
|
||||
}
|
||||
if idx > 0,
|
||||
isEditMode != .active,
|
||||
let savedAt = item.savedAt,
|
||||
Calendar.current.isDateInToday(savedAt) || Calendar.current.isDateInYesterday(savedAt),
|
||||
let previousSavedAt = viewModel.items[idx - 1].savedAt,
|
||||
Calendar.current.isDate(previousSavedAt, equalTo: savedAt, toGranularity: .day)
|
||||
{
|
||||
dateSummaryCard(previousSavedAt)
|
||||
}
|
||||
// if idx > 0,
|
||||
// isEditMode != .active,
|
||||
// let savedAt = item.savedAt,
|
||||
// Calendar.current.isDateInToday(savedAt) || Calendar.current.isDateInYesterday(savedAt),
|
||||
// let previousSavedAt = viewModel.items[idx - 1].savedAt,
|
||||
// Calendar.current.isDate(previousSavedAt, equalTo: savedAt, toGranularity: .day)
|
||||
// {
|
||||
// dateSummaryCard(previousSavedAt)
|
||||
// }
|
||||
}
|
||||
}
|
||||
.padding(0)
|
||||
|
||||
@ -101,6 +101,7 @@ public enum Voices {
|
||||
VoicePair(firstKey: "fr-FR-HenriNeural", secondKey: "fr-FR-DeniseNeural", firstName: "Henri", secondName: "Denise", language: "en-FR", category: .frFR),
|
||||
VoicePair(firstKey: "zh-CN-XiaochenNeural", secondKey: "zh-CN-XiaohanNeural", firstName: "Xiaochen", secondName: "Xiaohan", language: "zh-CN", category: .zhCN),
|
||||
VoicePair(firstKey: "zh-CN-XiaoxiaoNeural", secondKey: "zh-CN-YunyangNeural", firstName: "Xiaoxiao", secondName: "Yunyang", language: "zh-CN", category: .zhCN),
|
||||
VoicePair(firstKey: "zh-CN-YunxiNeural", secondKey: "zh-CN-XiaoyiNeural", firstName: "Yunxi", secondName: "Xiaoyi", language: "zh-CN", category: .zhCN),
|
||||
VoicePair(firstKey: "es-ES-AlvaroNeural", secondKey: "es-ES-ElviraNeural", firstName: "Alvaro", secondName: "Elvira", language: "es-ES", category: .esES),
|
||||
VoicePair(firstKey: "de-CH-LeniNeural", secondKey: "de-DE-KatjaNeural", firstName: "Leni", secondName: "Katja", language: "de-DE", category: .deDE),
|
||||
VoicePair(firstKey: "de-DE-AmalaNeural", secondKey: "de-DE-BerndNeural", firstName: "Amala", secondName: "Bernd", language: "de-DE", category: .deDE),
|
||||
|
||||
Reference in New Issue
Block a user