File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2071,13 +2071,20 @@ struct AIAbsorptionTimePickerRow: View {
20712071 }
20722072 }
20732073
2074+ Spacer ( )
2075+
2076+ Text ( durationString ( ) )
2077+ . foregroundColor ( isAIGenerated ? . blue : Color ( UIColor . secondaryLabel) )
2078+ . fontWeight ( isAIGenerated ? . medium : . regular)
2079+ . layoutPriority ( 1 )
2080+
20742081 if hasNonDefaultReasoning {
20752082 Button ( action: {
20762083 withAnimation ( . easeInOut( duration: 0.25 ) ) {
20772084 showReasoning. toggle ( )
20782085 }
20792086 } ) {
2080- HStack ( spacing: 3 ) {
2087+ HStack ( spacing: 2 ) {
20812088 Text ( " Why \( hoursLabel) hrs? " )
20822089 . font ( . caption2)
20832090 . fontWeight ( . medium)
@@ -2086,21 +2093,14 @@ struct AIAbsorptionTimePickerRow: View {
20862093 . font ( . system( size: 8 , weight: . bold) )
20872094 }
20882095 . foregroundColor ( . purple)
2089- . frame ( width: 100 )
2090- . padding ( . horizontal, 6 )
2096+ . frame ( width: 85 )
2097+ . padding ( . horizontal, 4 )
20912098 . padding ( . vertical, 2 )
20922099 . background ( Color . purple. opacity ( 0.1 ) )
20932100 . cornerRadius ( 6 )
20942101 }
20952102 . buttonStyle ( . plain)
20962103 }
2097-
2098- Spacer ( )
2099-
2100- Text ( durationString ( ) )
2101- . foregroundColor ( isAIGenerated ? . blue : Color ( UIColor . secondaryLabel) )
2102- . fontWeight ( isAIGenerated ? . medium : . regular)
2103- . layoutPriority ( 1 )
21042104 }
21052105
21062106 if showReasoning, let reasoning = absorptionReasoning {
You can’t perform that action at this time.
0 commit comments