mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
fix: force edge to edge for backward compatibility and consistent UI
This commit is contained in:
parent
991d184558
commit
74c987f73d
1 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ import android.content.res.Configuration
|
|||
import android.os.Bundle
|
||||
import android.util.DisplayMetrics
|
||||
import android.view.WindowManager
|
||||
import androidx.activity.enableEdgeToEdge
|
||||
import javax.inject.Inject
|
||||
import javax.inject.Named
|
||||
import fr.free.nrw.commons.R
|
||||
|
|
@ -36,6 +37,7 @@ abstract class BaseActivity : CommonsDaggerAppCompatActivity() {
|
|||
1f
|
||||
)
|
||||
adjustFontScale(resources.configuration, fontScale)
|
||||
enableEdgeToEdge()
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue