mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 16:25:21 +00:00
Update alert text to lowercase style
This commit is contained in:
@@ -297,13 +297,13 @@ struct ContentView: View {
|
|||||||
.foregroundColor(Color.red)
|
.foregroundColor(Color.red)
|
||||||
}
|
}
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
.alert("Leave Channel", isPresented: $showLeaveChannelAlert) {
|
.alert("leave channel?", isPresented: $showLeaveChannelAlert) {
|
||||||
Button("Cancel", role: .cancel) { }
|
Button("cancel", role: .cancel) { }
|
||||||
Button("Leave", role: .destructive) {
|
Button("leave", role: .destructive) {
|
||||||
viewModel.leaveChannel(currentChannel)
|
viewModel.leaveChannel(currentChannel)
|
||||||
}
|
}
|
||||||
} message: {
|
} message: {
|
||||||
Text("Are you sure you want to leave \(currentChannel)?")
|
Text("sure you want to leave \(currentChannel)?")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -852,13 +852,13 @@ struct ContentView: View {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
.alert("Leave Channel", isPresented: $showLeaveChannelAlert) {
|
.alert("leave channel", isPresented: $showLeaveChannelAlert) {
|
||||||
Button("Cancel", role: .cancel) { }
|
Button("cancel", role: .cancel) { }
|
||||||
Button("Leave", role: .destructive) {
|
Button("leave", role: .destructive) {
|
||||||
viewModel.leaveChannel(channel)
|
viewModel.leaveChannel(channel)
|
||||||
}
|
}
|
||||||
} message: {
|
} message: {
|
||||||
Text("Are you sure you want to leave \(channel)?")
|
Text("sure you want to leave \(channel)?")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user