diff --git a/app/src/main/assets/html/changelogs.html b/app/src/main/assets/html/changelogs.html index 05a221ad9..a447fc074 100644 --- a/app/src/main/assets/html/changelogs.html +++ b/app/src/main/assets/html/changelogs.html @@ -15,12 +15,36 @@

Change Logs

(Current Version) +

Build10X.0.0

+ +

Bug Fixes

+ + + +

Behaviour

+ + + +
+ + + +
+

Previous Versions

+
+

Build102.0.0

User Interface

-
- - - -
-

Previous Versions

-
+

Build101.0.0

diff --git a/app/src/main/java/app/simple/inure/dialogs/app/AppMenu.kt b/app/src/main/java/app/simple/inure/dialogs/app/AppMenu.kt index 25ac06e45..6781a2176 100644 --- a/app/src/main/java/app/simple/inure/dialogs/app/AppMenu.kt +++ b/app/src/main/java/app/simple/inure/dialogs/app/AppMenu.kt @@ -19,6 +19,7 @@ import app.simple.inure.apk.parsers.FOSSParser import app.simple.inure.apk.utils.PackageUtils.launchThisPackage import app.simple.inure.apk.utils.PackageUtils.safeApplicationInfo import app.simple.inure.constants.BundleConstants +import app.simple.inure.database.instances.TagsDatabase import app.simple.inure.decorations.ripple.DynamicRippleTextView import app.simple.inure.decorations.typeface.TypeFaceTextView import app.simple.inure.decorations.views.AppIconImageView @@ -307,6 +308,13 @@ class AppMenu : ScopedDialogFragment() { childFragmentManager.showMarkFossDialog().onMarkFossSaved = { license -> viewLifecycleOwner.lifecycleScope.launch(Dispatchers.Default) { FOSSParser.addPackage(packageInfo.packageName, license, requireContext()) + TagsDatabase.getInstance(requireContext())?.let { + it.getTagDao()?.getTag(getString(R.string.foss))?.let { tag -> + tag.packages = tag.packages.plus("," + packageInfo.packageName) + it.getTagDao()?.updateTag(tag) + } + } + withContext(Dispatchers.Main) { setOpenSourceState(false) }