Skip to content

Commit

Permalink
Make minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
acb-mv authored and buggmagnet committed Nov 28, 2024
1 parent 6007b2b commit 05671a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ struct ShadowsocksObfuscationSettingsView<VM>: View where VM: ShadowsocksObfusca
}

#Preview {
var model = MockShadowsocksObfuscationSettingsViewModel(shadowsocksPort: .automatic)
let model = MockShadowsocksObfuscationSettingsViewModel(shadowsocksPort: .automatic)
return ShadowsocksObfuscationSettingsView(viewModel: model)
}
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ struct SingleChoiceList<Value>: View where Value: Equatable {
.multilineTextAlignment(
customFieldMode == .numericText
? .trailing
: .leading/*@END_MENU_TOKEN@*/
: .leading
)
.frame(minWidth: inputWidth, maxWidth: .infinity)
.fixedSize()
Expand Down

0 comments on commit 05671a8

Please sign in to comment.