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

Bump minSdk to 26 #7047

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Pittvandewitt
Copy link
Contributor

Based on #7039 and #6986 I took the freedom to bump the minSdk to 26

@@ -29,7 +28,7 @@ object LocaleHelper {

fun updateLanguage(context: Context) {
val locale = getAppLocale()
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) updateResources(context, locale)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't this meant to be an if else check, or is it intentional to always call updateResourcesLegacy?

val (timeAgoRes, time) = if (years > 0) {
R.plurals.years_ago to years
} else {
R.plurals.months_ago to months
Copy link
Contributor Author

@Pittvandewitt Pittvandewitt Jan 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These plurals are no longer used. They could be removed from the translations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant