mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-08 05:26:10 +00:00
fix potential crash
This commit is contained in:
parent
d0a0b845e4
commit
8e5343f63f
3 changed files with 9 additions and 12 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.habitrpg.android.habitica"
|
||||
android:versionCode="158"
|
||||
android:versionCode="159"
|
||||
android:versionName="0.0.37.2"
|
||||
android:screenOrientation="portrait"
|
||||
android:installLocation="auto" >
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="profile_pets_and_mounts">Mascotes & Montarias</string>
|
||||
<string name="profile_pets_and_mounts">Mascotes & Montarias</string>
|
||||
<string name="profile_pets_found">Mascotes Encontrados</string>
|
||||
<string name="profile_mounts_tamed">Montarias Domesticadas</string>
|
||||
<string name="profile_loading_data">Carregando dados de membro</string>
|
||||
|
|
|
|||
|
|
@ -421,16 +421,6 @@ public class TaskFormActivity extends BaseActivity implements AdapterView.OnItem
|
|||
throwable -> {
|
||||
}
|
||||
);
|
||||
|
||||
if (task.isGroupTask()) {
|
||||
new AlertDialog.Builder(this)
|
||||
.setTitle(R.string.group_tasks_edit_title)
|
||||
.setMessage(R.string.group_tasks_edit_description)
|
||||
.setPositiveButton(android.R.string.ok, (dialog, which) -> {
|
||||
finish();
|
||||
})
|
||||
.show();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -729,6 +719,13 @@ public class TaskFormActivity extends BaseActivity implements AdapterView.OnItem
|
|||
}
|
||||
}
|
||||
|
||||
if (task.isGroupTask()) {
|
||||
new AlertDialog.Builder(this)
|
||||
.setTitle(R.string.group_tasks_edit_title)
|
||||
.setMessage(R.string.group_tasks_edit_description)
|
||||
.setPositiveButton(android.R.string.ok, (dialog, which) -> finish())
|
||||
.show();
|
||||
}
|
||||
}
|
||||
|
||||
private void fillTagCheckboxes() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue