Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c17466aa authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury
Browse files

show system app tag in list

parent 0fa94f2d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -218,6 +218,13 @@ class ApplicationListRVAdapter(
    }

    private fun ApplicationListItemBinding.updateSourceTag(searchApp: Application) {
        if (searchApp.isSystemApp) {
            sourceTag.apply {
                text = context.getText(R.string.system_app)
                visibility = View.VISIBLE
            }
            return
        }
        if (searchApp.source.isEmpty()) {
            sourceTag.visibility = View.INVISIBLE
        } else {
+1 −0
Original line number Diff line number Diff line
@@ -119,6 +119,7 @@
    <string name="open_source_apps">Open Source apps</string>
    <string name="duplicate_app_from_sources">Some proprietary apps may also have an Open Source version. Whenever this happens App Lounge shows the Open Source version only, in order to avoid duplicates.</string>
    <string name="downloading">Downloading…</string>
    <string name="system_app">System app</string>
    <string name="additional_file_for">Additional file for %s</string>
    <string name="having_troubles">Having troubles?</string>
    <string name="troubleshootURL" translatable="false">https://doc.e.foundation/support-topics/app_lounge_troubleshooting</string>