Fixes a crash due to locale + prepares release 1.3.3
This commit is contained in:
parent
7bbb2d10ee
commit
03cda80bed
|
@ -7,8 +7,8 @@ android {
|
||||||
applicationId "fr.gouv.etalab.mastodon"
|
applicationId "fr.gouv.etalab.mastodon"
|
||||||
minSdkVersion 15
|
minSdkVersion 15
|
||||||
targetSdkVersion 25
|
targetSdkVersion 25
|
||||||
versionCode 29
|
versionCode 30
|
||||||
versionName "1.3.2"
|
versionName "1.3.3"
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
|
Binary file not shown.
|
@ -286,7 +286,6 @@ public class ScheduledTootsListAdapter extends BaseAdapter {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
alertDialog.show();
|
alertDialog.show();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -197,7 +197,7 @@ public class StatusListAdapter extends BaseAdapter implements OnPostActionInterf
|
||||||
statusListAdapter.notifyDataSetChanged();
|
statusListAdapter.notifyDataSetChanged();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if( currentLocale != null && !status.getLanguage().trim().equals(currentLocale) && !status.getLanguage().trim().equals("null")){
|
if( currentLocale != null && status.getLanguage() != null && !status.getLanguage().trim().equals(currentLocale) && !status.getLanguage().trim().equals("null")){
|
||||||
holder.status_translate.setVisibility(View.VISIBLE);
|
holder.status_translate.setVisibility(View.VISIBLE);
|
||||||
}else {
|
}else {
|
||||||
holder.status_translate.setVisibility(View.GONE);
|
holder.status_translate.setVisibility(View.GONE);
|
||||||
|
|
Loading…
Reference in New Issue