mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-05-19 14:10:38 -04:00
Merge branch '3029-old-edge' into 'master'
Disable edge-to-edge for Android 10 and below Closes #3029 See merge request fdroid/fdroidclient!1567
This commit is contained in:
@@ -120,7 +120,8 @@ public class AppDetailsActivity extends AppCompatActivity
|
||||
fdroidApp.setSecureWindow(this);
|
||||
|
||||
fdroidApp.applyPureBlackBackgroundInDarkTheme(this);
|
||||
EdgeToEdge.enable(this);
|
||||
// Edge-to-edge has a bug in Android 10 (and lower?) where end of page is overlayed
|
||||
if (Build.VERSION.SDK_INT > 29) EdgeToEdge.enable(this);
|
||||
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.app_details2);
|
||||
|
||||
@@ -125,7 +125,8 @@ public class ManageReposActivity extends AppCompatActivity implements RepoAdapte
|
||||
fdroidApp.setSecureWindow(this);
|
||||
|
||||
fdroidApp.applyPureBlackBackgroundInDarkTheme(this);
|
||||
EdgeToEdge.enable(this);
|
||||
// Edge-to-edge has a bug in Android 10 (and lower?) where end of page is overlayed
|
||||
if (Build.VERSION.SDK_INT > 29) EdgeToEdge.enable(this);
|
||||
repoManager = FDroidApp.getRepoManager(this);
|
||||
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
Reference in New Issue
Block a user