fix dark mode for LogView

This commit is contained in:
B. Petersen
2019-04-02 13:37:38 +02:00
parent 915ac6b8af
commit edecccd163
2 changed files with 3 additions and 21 deletions
-19
View File
@@ -1,24 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ /**
~ * Copyright (C) 2014 Whisper Systems
~ *
~ * This program is free software: you can redistribute it and/or modify
~ * it under the terms of the GNU General Public License as published by
~ * the Free Software Foundation, either version 3 of the License, or
~ * (at your option) any later version.
~ *
~ * This program is distributed in the hope that it will be useful,
~ * but WITHOUT ANY WARRANTY; without even the implied warranty of
~ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ * GNU General Public License for more details.
~ *
~ * You should have received a copy of the GNU General Public License
~ * along with this program. If not, see <http://www.gnu.org/licenses/>.
~ */
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
@@ -23,13 +23,14 @@ public class LogViewActivity extends BaseActionBarActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
dynamicTheme.onCreate(this);
dynamicLanguage.onCreate(this);
setContentView(R.layout.log_view_activity);
logViewFragment = LogViewFragment.newInstance();
FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
transaction.replace(R.id.fragment_container, logViewFragment);
transaction.commit();
dynamicTheme.onCreate(this);
dynamicLanguage.onCreate(this);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
}