mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
simplify else if statement
This commit is contained in:
@@ -756,7 +756,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
else if(dynamicTheme.isDarkTheme(this)) {
|
||||
getWindow().setBackgroundDrawableResource(R.drawable.background_hd_dark);
|
||||
}
|
||||
else if(!dynamicTheme.isDarkTheme(this)) {
|
||||
else {
|
||||
getWindow().setBackgroundDrawableResource(R.drawable.background_hd);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user