Fix flags

This commit is contained in:
Victor Shcherb 2012-09-30 00:11:23 +02:00
parent 56aa05b268
commit f2d2a3e9a6
2 changed files with 2 additions and 2 deletions

View file

@ -1087,7 +1087,7 @@
<string name="tip_recent_changes_0_8_4_t">"Изменения в 0.8.4: "</string> <string name="tip_recent_changes_0_8_4_t">"Изменения в 0.8.4: "</string>
<string name="intermediate_point">Путевая точка %1$s</string> <string name="intermediate_point">Путевая точка %1$s</string>
<string name="delete_target_point">Удалить точку назначения</string> <string name="delete_target_point">Удалить точку назначения</string>
<string name="map_widget_monitoring_services">Мониторинг услуг</string> <string name="map_widget_monitoring_services">Службы мониторинга</string>
<string name="no_route">Нет маршрута</string> <string name="no_route">Нет маршрута</string>
<string name="gps_not_available">Включите GPS в настройках</string> <string name="gps_not_available">Включите GPS в настройках</string>
</resources> </resources>

View file

@ -134,7 +134,7 @@ public class MainMenuActivity extends Activity {
SharedPreferences prefs = activity.getApplicationContext().getSharedPreferences("net.osmand.settings", MODE_WORLD_READABLE); SharedPreferences prefs = activity.getApplicationContext().getSharedPreferences("net.osmand.settings", MODE_WORLD_READABLE);
// only one commit should be with contribution version flag // only one commit should be with contribution version flag
prefs.edit().putBoolean(CONTRIBUTION_VERSION_FLAG, true).commit(); // prefs.edit().putBoolean(CONTRIBUTION_VERSION_FLAG, true).commit();
if (prefs.contains(CONTRIBUTION_VERSION_FLAG)) { if (prefs.contains(CONTRIBUTION_VERSION_FLAG)) {
SpannableString content = new SpannableString(textVersion); SpannableString content = new SpannableString(textVersion);
content.setSpan(new ClickableSpan() { content.setSpan(new ClickableSpan() {