Skip to content

Commit c4b5719

Browse files
Update README and include alignment settings
1 parent 2aa5a92 commit c4b5719

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ import Rye
128128
...
129129
let ryeConfiguration: RyeConfiguration = [Rye.Configuration.Key.text: "Message for the user"]
130130
let rye = RyeViewController(
131-
viewType: .standard(configuration: ryeConfiguration),
132-
at: .bottom(inset: 16)
133-
)
131+
viewType: .standard(configuration: ryeConfiguration),
132+
at: .bottom(inset: 16)
133+
)
134134
rye.show()
135135
```
136136

@@ -145,10 +145,10 @@ import Rye
145145
...
146146
let ryeConfiguration: RyeConfiguration = [Rye.Configuration.Key.text: "Message for the user"]
147147
let rye = RyeViewController(
148-
dismissMode: .gesture,
149-
viewType: .standard(configuration: ryeConfiguration),
150-
at: .bottom(inset: 16)
151-
)
148+
dismissMode: .gesture,
149+
viewType: .standard(configuration: ryeConfiguration),
150+
at: .bottom(inset: 16)
151+
)
152152
rye.show()
153153
```
154154

@@ -168,9 +168,9 @@ let ryeConfiguration: RyeConfiguration = [
168168
]
169169

170170
let rye = RyeViewController(
171-
viewType: .standard(configuration: ryeConfiguration),
172-
at: .bottom(inset: 16)
173-
)
171+
viewType: .standard(configuration: ryeConfiguration),
172+
at: .bottom(inset: 16)
173+
)
174174
rye.show()
175175
```
176176

@@ -196,9 +196,9 @@ import Rye
196196
...
197197
let ryeConfiguration: RyeConfiguration = [Rye.Configuration.Key.text: "Message for the user"]
198198
let rye = RyeViewController(
199-
viewType: .standard(configuration: ryeConfiguration),
200-
at: .bottom(inset: 16)
201-
)
199+
viewType: .standard(configuration: ryeConfiguration),
200+
at: .bottom(inset: 16)
201+
)
202202

203203
rye.show(withDismissCompletion: {
204204
print("Goodbye from Rye, time to dy..die")
@@ -216,10 +216,10 @@ var rye: RyeViewController?
216216

217217
let ryeConfiguration: RyeConfiguration = [Rye.Configuration.Key.text: "Message for the user"]
218218
rye = RyeViewController(
219-
dismissMode: .nonDismissable,
220-
viewType: .standard(configuration: ryeConfiguration),
221-
at: .bottom(inset: 16)
222-
)
219+
dismissMode: .nonDismissable,
220+
viewType: .standard(configuration: ryeConfiguration),
221+
at: .bottom(inset: 16)
222+
)
223223

224224
rye?.show()
225225

0 commit comments

Comments
 (0)