Fix instance info navigation bar colour

This commit is contained in:
Balazs Toldi 2023-08-22 21:53:08 +02:00
parent 5cbe6152c9
commit 4010e02438
No known key found for this signature in database
GPG Key ID: 6C7D440036F99D58

View File

@ -105,6 +105,9 @@ public class InstanceInfoActivity extends BaseActivity {
setSupportActionBar(toolbar); setSupportActionBar(toolbar);
getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setDisplayHomeAsUpEnabled(true);
// Remove transparency from navigation bar
getWindow().setNavigationBarColor(mCustomThemeWrapper.getBackgroundColor());
int markdownColor = customThemeWrapper.getPostContentColor(); int markdownColor = customThemeWrapper.getPostContentColor();
int postSpoilerBackgroundColor = markdownColor | 0xFF000000; int postSpoilerBackgroundColor = markdownColor | 0xFF000000;