mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-26 07:24:19 +02:00
Description field can be null (fix crash #33)
This commit is contained in:
parent
acf4063fc0
commit
e4dd4fced6
3 changed files with 179 additions and 171 deletions
|
|
@ -10,6 +10,11 @@ and `Removed`.
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.2.2] - 2021-09-30
|
||||
|
||||
## Fixed
|
||||
- Crash when conecting a LG device (#33)
|
||||
|
||||
## [0.2.1] - 2021-09-28
|
||||
|
||||
## Added
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -102,7 +102,10 @@ impl List {
|
|||
removal = Removal::Unlisted;
|
||||
|
||||
if uad_lists.contains_key(p_name) {
|
||||
description = uad_lists.get(p_name).unwrap().description.as_ref().unwrap();
|
||||
description = match &uad_lists.get(p_name).unwrap().description {
|
||||
Some(descr) => &descr,
|
||||
None => "[No description]",
|
||||
};
|
||||
uad_list = uad_lists.get(p_name).unwrap().list;
|
||||
removal = uad_lists.get(p_name).unwrap().removal;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue