More live updates progress.
This commit is contained in:
parent
74182b2974
commit
8f516bddce
3 changed files with 4 additions and 3 deletions
|
@ -15,6 +15,7 @@ public class LiveUpdatesActivity extends AbstractDownloadActivity {
|
|||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
getMyApplication().applyTheme(this);
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_livie_updates);
|
||||
|
||||
|
|
|
@ -316,9 +316,9 @@ public class LiveUpdatesFragment extends Fragment {
|
|||
final UpdateFrequency frequency = UpdateFrequency.values()[frequencyId];
|
||||
subheaderTextView.setText(frequency.toString());
|
||||
subheaderTextView.setTextColor(fragment.getActivity().getResources()
|
||||
.getColor(R.color.dashboard_blue));
|
||||
.getColor(R.color.osmand_orange));
|
||||
icon.setImageDrawable(context.getIconsCache().getContentIcon(R.drawable.ic_map));
|
||||
icon.setImageDrawable(context.getIconsCache().getIcon(R.drawable.ic_map, R.color.dashboard_blue));
|
||||
icon.setImageDrawable(context.getIconsCache().getIcon(R.drawable.ic_map, R.color.osmand_orange));
|
||||
options.setImageResource(R.drawable.ic_overflow_menu_white);
|
||||
} else {
|
||||
String size;
|
||||
|
|
|
@ -69,7 +69,7 @@ public class LiveUpdatesSettingsDialogFragment extends DialogFragment {
|
|||
preferenceUpdateFrequency(localIndexInfo, getSettings());
|
||||
final OsmandSettings.CommonPreference<Integer> timeOfDayPreference =
|
||||
preferenceTimeOfDayToUpdate(localIndexInfo, getSettings());
|
||||
liveUpdatesSwitch.setChecked(liveUpdatePreference.get());
|
||||
liveUpdatesSwitch.setChecked(true);
|
||||
downloadOverWiFiSwitch.setChecked(downloadViaWiFiPreference.get());
|
||||
|
||||
builder.setView(view)
|
||||
|
|
Loading…
Reference in a new issue