Commit 3910ad0 1 parent a3d26b6 commit 3910ad0 Copy full SHA for 3910ad0
File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ogi" ,
3
3
"private" : true ,
4
- "version" : " 0.0.1 " ,
4
+ "version" : " 0.0.2 " ,
5
5
"scripts" : {
6
6
"dev" : " next dev -p 1420" ,
7
7
"build" : " next build && next export -o dist" ,
Original file line number Diff line number Diff line change @@ -150,11 +150,12 @@ fn get_all_devices() -> Vec<Device> {
150
150
let name = device_row
151
151
. get ( dot_index. unwrap ( ) + 3 ..)
152
152
. unwrap ( )
153
+ . trim ( )
153
154
. to_string ( ) ;
154
155
155
156
let mut resolutions: Vec < Resolution > = Vec :: new ( ) ;
156
157
for i in 0 ..5 {
157
- let dev_res_value = get_resolution ( & name . to_string ( ) , & i. to_string ( ) ) ;
158
+ let dev_res_value = get_resolution ( & id . to_string ( ) , & i. to_string ( ) ) ;
158
159
resolutions. push ( Resolution {
159
160
value : dev_res_value,
160
161
index : i,
@@ -198,6 +199,7 @@ fn main() {
198
199
let res_item_right = res_item
199
200
. get ( dot_index. unwrap ( ) + 2 ..)
200
201
. unwrap ( )
202
+ . trim ( )
201
203
. to_string ( )
202
204
. replace ( " (active)" , "" ) ;
203
205
let res_item_right_id = f. index . to_string ( ) + "_" + i. id . as_str ( ) ;
Original file line number Diff line number Diff line change 8
8
},
9
9
"package" : {
10
10
"productName" : " ogi" ,
11
- "version" : " 0.0.1 "
11
+ "version" : " 0.0.2 "
12
12
},
13
13
"tauri" : {
14
14
"allowlist" : {
You can’t perform that action at this time.
0 commit comments