|
|
@ -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); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|