File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,10 @@ private struct StoreInfoView: View {
9494 }
9595 . frame ( maxWidth: . infinity, alignment: . leading)
9696 }
97+
98+ Text ( Localization . updatedAt ( " 10:23 PM " ) )
99+ . statRangeStyle ( )
100+ . frame ( maxWidth: . infinity, alignment: . leading)
97101 }
98102 . padding ( . horizontal)
99103 }
@@ -187,6 +191,12 @@ private extension StoreInfoView {
187191 value: " Conversion " ,
188192 comment: " Conversion title label for the store info widget "
189193 )
194+ static func updatedAt( _ updatedTime: String ) -> LocalizedString {
195+ let format = AppLocalizedString ( " storeWidgets.infoView.updatedAt " ,
196+ value: " Updated at: %1$@ " ,
197+ comment: " Displays the time when the widget was last updated. %1$@ is the time to render. " )
198+ return LocalizedString . localizedStringWithFormat ( format, updatedTime)
199+ }
190200 }
191201
192202 enum Layout {
You can’t perform that action at this time.
0 commit comments