mirror of
https://github.com/TrianguloY/UrlChecker.git
synced 2024-09-19 20:02:16 +02:00
simplify restore bug
This commit is contained in:
parent
84b748e3ec
commit
05091220fc
@ -36,11 +36,10 @@ public class SettingsActivity extends Activity {
|
||||
configureDayNight();
|
||||
configureLocale();
|
||||
|
||||
// if this app was reloaded, some settings may have changed, so reload previous one too
|
||||
// if this was reloaded, some settings may have change, so reload previous one too
|
||||
if (AndroidSettings.wasReloaded(this)) AndroidSettings.markForReloading(this);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean onOptionsItemSelected(MenuItem item) {
|
||||
if (item.getItemId() == android.R.id.home) {
|
||||
@ -125,4 +124,5 @@ public class SettingsActivity extends Activity {
|
||||
public void openTutorial(View view) {
|
||||
PackageUtils.startActivity(new Intent(this, TutorialActivity.class), R.string.toast_noApp, this);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -49,7 +49,8 @@
|
||||
<Spinner
|
||||
android:id="@+id/theme"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:saveEnabled="false" />
|
||||
</LinearLayout>
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
@ -69,7 +70,8 @@
|
||||
<Spinner
|
||||
android:id="@+id/locale"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:saveEnabled="false" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
Loading…
Reference in New Issue
Block a user