1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-27 04:16:49 +01:00

Remove option to start first run screens from preferences

This commit is contained in:
Arjan Schrijver 2024-09-07 21:12:32 +02:00
parent 2892e3a08b
commit 44772e3dc4
2 changed files with 0 additions and 13 deletions

View File

@ -65,7 +65,6 @@ import nodomain.freeyourgadget.gadgetbridge.GBApplication;
import nodomain.freeyourgadget.gadgetbridge.R; import nodomain.freeyourgadget.gadgetbridge.R;
import nodomain.freeyourgadget.gadgetbridge.activities.charts.ChartsPreferencesActivity; import nodomain.freeyourgadget.gadgetbridge.activities.charts.ChartsPreferencesActivity;
import nodomain.freeyourgadget.gadgetbridge.activities.discovery.DiscoveryPairingPreferenceActivity; import nodomain.freeyourgadget.gadgetbridge.activities.discovery.DiscoveryPairingPreferenceActivity;
import nodomain.freeyourgadget.gadgetbridge.activities.welcome.WelcomeActivity;
import nodomain.freeyourgadget.gadgetbridge.database.PeriodicExporter; import nodomain.freeyourgadget.gadgetbridge.database.PeriodicExporter;
import nodomain.freeyourgadget.gadgetbridge.externalevents.TimeChangeReceiver; import nodomain.freeyourgadget.gadgetbridge.externalevents.TimeChangeReceiver;
import nodomain.freeyourgadget.gadgetbridge.model.Weather; import nodomain.freeyourgadget.gadgetbridge.model.Weather;
@ -438,14 +437,6 @@ public class SettingsActivity extends AbstractSettingsActivityV2 {
}); });
} }
pref = findPreference("pref_show_first_run_screen");
if (pref != null) {
pref.setOnPreferenceClickListener(preference -> {
Intent enableIntent = new Intent(requireContext(), WelcomeActivity.class);
startActivity(enableIntent);
return true;
});
}
pref = findPreference("pref_discovery_pairing"); pref = findPreference("pref_discovery_pairing");
if (pref != null) { if (pref != null) {
pref.setOnPreferenceClickListener(preference -> { pref.setOnPreferenceClickListener(preference -> {

View File

@ -385,10 +385,6 @@
android:summary="@string/pref_cache_weather_summary" android:summary="@string/pref_cache_weather_summary"
android:title="@string/pref_cache_weather" android:title="@string/pref_cache_weather"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<Preference
android:key="pref_show_first_run_screen"
android:title="Show first run screen"
app:iconSpaceReserved="false" />
<PreferenceCategory <PreferenceCategory
android:key="pref_screen_intent_api" android:key="pref_screen_intent_api"