@@ -4,7 +4,7 @@ use crate::shell::{
4
4
update_profile_if_not_setup, Export ,
5
5
} ;
6
6
use clap:: Args ;
7
- use iocraft:: prelude:: { element, Box } ;
7
+ use iocraft:: prelude:: { element, View } ;
8
8
use iocraft:: FlexDirection ;
9
9
use proto_shim:: get_exe_file_name;
10
10
use starbase:: AppResult ;
@@ -157,7 +157,7 @@ pub async fn setup(session: ProtoSession, args: SetupArgs) -> AppResult {
157
157
158
158
#( if should_launch_terminal {
159
159
element! {
160
- Box ( margin_top: 1 ) {
160
+ View ( margin_top: 1 ) {
161
161
StyledText (
162
162
content: "Launch a new terminal to start using proto!" ,
163
163
style: Style :: Success
@@ -166,14 +166,14 @@ pub async fn setup(session: ProtoSession, args: SetupArgs) -> AppResult {
166
166
}
167
167
} else {
168
168
element! {
169
- Box ( margin_top: 1 , flex_direction: FlexDirection :: Column ) {
169
+ View ( margin_top: 1 , flex_direction: FlexDirection :: Column ) {
170
170
#( if should_print_exports {
171
171
element! {
172
172
Stack {
173
173
StyledText (
174
174
content: "Add the following to your shell profile and launch a new terminal to get started:"
175
175
)
176
- Box ( padding_top: 1 , padding_left: 2 ) {
176
+ View ( padding_top: 1 , padding_left: 2 ) {
177
177
StyledText (
178
178
content: exported_content. trim( ) ,
179
179
style: Style :: MutedLight
@@ -187,7 +187,7 @@ pub async fn setup(session: ProtoSession, args: SetupArgs) -> AppResult {
187
187
StyledText (
188
188
content: "Add the following to your <property>PATH</property> to get started:" ,
189
189
)
190
- Box ( padding_top: 1 , padding_left: 2 ) {
190
+ View ( padding_top: 1 , padding_left: 2 ) {
191
191
StyledText (
192
192
content: if cfg!( windows) {
193
193
format!(
@@ -208,7 +208,7 @@ pub async fn setup(session: ProtoSession, args: SetupArgs) -> AppResult {
208
208
}
209
209
} )
210
210
211
- Box ( margin_top: 1 ) {
211
+ View ( margin_top: 1 ) {
212
212
StyledText (
213
213
content: format!(
214
214
"Need help? Join our Discord <url>{}</url>" ,
0 commit comments