mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-18 12:47:30 +00:00
fix updater, me dumb
This commit is contained in:
parent
86c36d45b8
commit
0ac4030b5f
@ -29,6 +29,7 @@ public final class FlavorTown {
|
||||
public static void updateCheck(@NonNull final Context context) {
|
||||
Resources res = context.getResources();
|
||||
new UpdateChecker(version -> {
|
||||
if (version != BuildConfig.VERSION_NAME && !BuildConfig.DEBUG) {
|
||||
new AlertDialog.Builder(context)
|
||||
.setTitle(res.getString(R.string.update_available, version))
|
||||
.setMessage(R.string.update_notice)
|
||||
@ -50,6 +51,7 @@ public final class FlavorTown {
|
||||
}
|
||||
})
|
||||
.show();
|
||||
}
|
||||
}).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||
}
|
||||
|
||||
|
@ -3,3 +3,4 @@
|
||||
* You can now unsend messages
|
||||
* Adding favourite button on profile views
|
||||
* Enforcing a limit of 100 posts per download
|
||||
* Fix updater
|
Loading…
Reference in New Issue
Block a user