@@ -107,13 +107,23 @@ class _LoadConfigPageState extends State<LoadConfigPage> {
107107 mainAxisAlignment: MainAxisAlignment .center,
108108 crossAxisAlignment: CrossAxisAlignment .center,
109109 children: [
110+ SizedBox (height: 6 ),
110111 Text (
111112 "OpenConfigurator" ,
112113 style: TextStyle (
113114 fontSize: 21 ,
114115 letterSpacing: - 0.5
115116 ),
116117 ),
118+ SizedBox (height: 3 ),
119+ Text (
120+ "Only for OC ${globals .OC_VERSION }" ,
121+ style: TextStyle (
122+ fontSize: 15.0 ,
123+ letterSpacing: - 0.5 ,
124+ color: Colors .red,
125+ ),
126+ ),
117127 SizedBox (height: 20 ),
118128 ClipRRect (
119129 borderRadius: BorderRadius .circular (10 ),
@@ -146,39 +156,39 @@ class _LoadConfigPageState extends State<LoadConfigPage> {
146156 ),
147157 ),
148158 ),
149- SizedBox (height : 60 ),
150- Container (
151- padding : EdgeInsets . symmetric (horizontal : 5 , vertical : 10 ),
152- decoration : BoxDecoration (
153- borderRadius : BorderRadius . circular ( 10 ),
154- color : Colors .black. withOpacity ( 0.4 ),
155- ),
156- child : Column (
157- children : [
158- Text (
159- "How to get the path" ,
160- style : TextStyle (fontSize : 14 , fontWeight : FontWeight .bold),
161- ),
162- SizedBox (height : 8 ) ,
163- Text (
164- "MacOS: Mark file in finder, press Cmd-Opt-C" ,
165- style : TextStyle (fontSize : 12 ),
166- ),
167- Text (
168- "Windows: Mark file in explorer, click home and copy path" ,
169- style : TextStyle (fontSize : 12 ),
170- ),
171- Text (
172- "Linux: Depends on Distro" ,
173- style : TextStyle (fontSize : 12 ),
174- ),
175- Text (
176- "Android/iOS/iPadOS: Press Open" ,
177- style : TextStyle (fontSize : 12 ),
178- ) ,
179- ] ,
180- ),
181- ),
159+ ...(globals.isMobile
160+ ? []
161+ : [
162+ SizedBox (height : 60 ),
163+ Container (
164+ padding : EdgeInsets . symmetric (horizontal : 5 , vertical : 10 ),
165+ decoration : BoxDecoration (
166+ borderRadius : BorderRadius . circular ( 10 ),
167+ color : Colors .black. withOpacity ( 0.4 ),
168+ ),
169+ child : Column (
170+ children : [
171+ Text (
172+ "How to get the path" ,
173+ style : TextStyle (fontSize : 14 , fontWeight : FontWeight .bold),
174+ ) ,
175+ SizedBox (height : 8 ),
176+ Text (
177+ "MacOS: Mark file in finder, press Cmd-Opt-C" ,
178+ style : TextStyle (fontSize : 12 ) ,
179+ ),
180+ Text (
181+ "Windows: Mark file in explorer, click home and copy path" ,
182+ style : TextStyle (fontSize : 12 ) ,
183+ ),
184+ Text (
185+ "Linux: Depends on Distro" ,
186+ style : TextStyle (fontSize : 12 ) ,
187+ ),
188+ ] ,
189+ ) ,
190+ ),
191+ ] ),
182192 SizedBox (height: 10 ),
183193 _getErrorWidget (),
184194 ],
0 commit comments