File tree Expand file tree Collapse file tree 7 files changed +19
-15
lines changed
Expand file tree Collapse file tree 7 files changed +19
-15
lines changed Original file line number Diff line number Diff line change 1+ ### 1.0.3:
2+ Fixes a bug in Verify option
13### 1.0.2:
2- - Fixes Verify being active for unenrolled fingers
3- - Add cargo-source.json for Flathub
4+ • Fixes Verify being active for unenrolled fingers
5+ • Add cargo-source.json for Flathub
46### 1.0.1:
5- - Changed navigation bar default toggle state
6- - Pushed Cargo.lock for Flathub
7+ • Changed navigation bar default toggle state
8+ • Pushed Cargo.lock for Flathub
79### 1.0.0:
810 • First fully featured release
911 • Adds Settings section for installing dependencies
Original file line number Diff line number Diff line change 11[package ]
22name = " cosmic-utils-enroll"
3- version = " 1.0.2 "
3+ version = " 1.0.3 "
44edition = " 2024"
55license = " MPL-2.0"
66description = " GUI for fprintd fingerprint enrolling"
Original file line number Diff line number Diff line change @@ -37,5 +37,5 @@ modules:
3737 sources :
3838 - type : git
3939 url : https://github.com/cosmic-utils/enroll.git
40- tag : 1.0.2
40+ tag : 1.0.3
4141 - cargo-sources.json
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ Icon=org.cosmic_utils.enroll
66Exec =cosmic-utils-enroll %F
77Terminal =false
88StartupNotify =true
9- Categories =Utility;COSMIC ;
9+ Categories =Utility;System ;
1010Keywords =Fingerprint;Security;
1111MimeType =
Original file line number Diff line number Diff line change 4646 <url type =" vcs-browser" >https://github.com/cosmic-utils/enroll</url >
4747 <screenshots >
4848 <screenshot type =" default" >
49+ <image >https://user.fm/files/v2-33b0fc7cc6603b601fe9ec2b84915fd8/enroll.png</image >
50+ <caption >Main window main UI</caption >
51+ </screenshot >
52+ <screenshot >
4953 <image >https://user.fm/files/v2-2f0daf05b0e66f25db2778188ab82373/enroll-main.png</image >
50- <caption >Main window</caption >
54+ <caption >Main window alternative UI </caption >
5155 </screenshot >
5256 <screenshot >
5357 <image >https://user.fm/files/v2-808d13b70d649c6b65df2cce1849db2f/enroll-additional.png</image >
5458 <caption >Enrolling a fingerprint</caption >
5559 </screenshot >
5660 </screenshots >
5761 <releases >
58- <release version =" 1.0.2 " date =" 2026-03-16 " >
62+ <release version =" 1.0.3 " date =" 2026-03-17 " >
5963 <description >
6064 <p >Initial release.</p >
6165 </description >
Original file line number Diff line number Diff line change @@ -270,10 +270,9 @@ where
270270 validate_username ( & username) ?;
271271 let device = DeviceProxy :: builder ( connection) . path ( path) ?. build ( ) . await ?;
272272
273- match device. claim ( & username) . await {
274- Ok ( _) => { }
275- Err ( e) => return Err ( e) ,
276- } ;
273+ if let Err ( e) = device. claim ( & username) . await {
274+ return Err ( e) ;
275+ }
277276
278277 if let Err ( e) = device. verify_start ( & finger) . await {
279278 let _ = device. release ( ) . await ;
@@ -311,7 +310,6 @@ where
311310 }
312311 }
313312
314- let _ = device. verify_stop ( ) . await ;
315313 device. release ( ) . await
316314}
317315
You can’t perform that action at this time.
0 commit comments