Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for using OONI Icons in descriptors. #244

Merged
merged 2 commits into from
Nov 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ import ooniprobe.composeapp.generated.resources.fa_umbrella
import ooniprobe.composeapp.generated.resources.fa_utensils
import ooniprobe.composeapp.generated.resources.fa_wine_glass
import ooniprobe.composeapp.generated.resources.ooni_empty_state
import ooniprobe.composeapp.generated.resources.test_circumvention
import ooniprobe.composeapp.generated.resources.test_experimental
import ooniprobe.composeapp.generated.resources.test_instant_messaging
import ooniprobe.composeapp.generated.resources.test_performance
import ooniprobe.composeapp.generated.resources.test_websites
import org.jetbrains.compose.resources.DrawableResource

enum class InstalledDescriptorIcons(
Expand Down Expand Up @@ -170,6 +175,11 @@ enum class InstalledDescriptorIcons(
FaUmbrella("FaUmbrella", Res.drawable.fa_umbrella),
FaUtensils("FaUtensils", Res.drawable.fa_utensils),
FaWineGlass("FaWineGlass", Res.drawable.fa_wine_glass),
OoniWebsites("OoniWebsites", Res.drawable.test_websites),
OoniInstantMessaging("OoniInstantMessaging", Res.drawable.test_instant_messaging),
OoniCircumvention("OoniCircumvention", Res.drawable.test_circumvention),
OoniPerformance("OoniPerformance", Res.drawable.test_performance),
OoniExperimental("OoniExperimental", Res.drawable.test_experimental),
;

companion object {
Expand Down