-
Notifications
You must be signed in to change notification settings - Fork 1.3k
for #24929: remove locale restriction for remote firefox wallpapers #24930
for #24929: remove locale restriction for remote firefox wallpapers #24930
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
7549e42
to
665e5e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be fixed in my most recent push, I'd also just noticed it. Thanks for the thorough check! |
665e5e4
to
43f5720
Compare
43f5720
to
6dde8e2
Compare
override val remoteParentDirName: String = "house" | ||
override fun isAvailableInLocale(locale: String): Boolean = | ||
listOf("en-US", "es-US").contains(locale) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case this just happens to be useful information, we can tell a user's region based on their store.state.search.region
. If we were trying to make the wallpaper available for all of US instead of just based on their locale. See https://github.com/mozilla-mobile/fenix/pull/17580/files#diff-3101d2ecb99584cfe0d93898bc7eee5a629ddf6de9f2d2632f56fb3f04e2c34dR395 for an example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's nice!!!
We could add it as a follow up ticket :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is actually really good to know. I think when we talked about this initially, we didn't think there was another good way for us to determine locale. That's why we included es-US, since it's another high usage locale in the US.
app/src/main/java/org/mozilla/fenix/wallpapers/WallpaperManager.kt
Outdated
Show resolved
Hide resolved
6dde8e2
to
6fe6373
Compare
6fe6373
to
ecdb3ee
Compare
🚢 ! |
@Mergifyio backport releases_v100.0.0 |
✅ Backports have been created
|
for #24929
To download an APK when reviewing a PR: