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

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