Browse Source

- fixed up RemoteRssActivity after rebase

pull/529/head
Twig N 5 years ago
parent
commit
e1caa2a4f8
  1. 7
      app/src/main/java/org/transdroid/core/gui/remoterss/RemoteRssActivity.java

7
app/src/main/java/org/transdroid/core/gui/remoterss/RemoteRssActivity.java

@ -44,7 +44,7 @@ import org.androidannotations.annotations.ViewById;
import org.transdroid.R; import org.transdroid.R;
import org.transdroid.core.app.settings.ApplicationSettings; import org.transdroid.core.app.settings.ApplicationSettings;
import org.transdroid.core.app.settings.ServerSetting; import org.transdroid.core.app.settings.ServerSetting;
import org.transdroid.core.app.settings.SystemSettings_; import org.transdroid.core.app.settings.SettingsUtils;
import org.transdroid.core.gui.lists.LocalTorrent; import org.transdroid.core.gui.lists.LocalTorrent;
import org.transdroid.core.gui.lists.SimpleListItemAdapter; import org.transdroid.core.gui.lists.SimpleListItemAdapter;
import org.transdroid.core.gui.log.Log; import org.transdroid.core.gui.log.Log;
@ -108,10 +108,7 @@ public class RemoteRssActivity extends AppCompatActivity implements RefreshableA
@Override @Override
public void onCreate(Bundle savedInstanceState) { public void onCreate(Bundle savedInstanceState) {
// Set the theme according to the user preference SettingsUtils.applyDayNightTheme(this);
if (SystemSettings_.getInstance_(this).useDarkTheme()) {
setTheme(R.style.TransdroidTheme_Dark);
}
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
} }

Loading…
Cancel
Save