修复了一些 UI 问题, 1、2、4、5、12 https://gitlab.ghzhushou.com/pm/halo-app-issues/issues/385
This commit is contained in:
@ -206,8 +206,13 @@ public class DownloadManager implements DownloadStatusListener {
|
||||
SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
final SharedPreferences.Editor edit = sp.edit();
|
||||
if (sp.getBoolean("InstallHint" + PackageUtils.getVersionName(), true)) {
|
||||
DialogUtils.showInstallHintDialog(context,
|
||||
() -> edit.putBoolean("InstallHint" + PackageUtils.getVersionName(), false).apply());
|
||||
try {
|
||||
DialogUtils.showInstallHintDialog(context,
|
||||
() -> edit.putBoolean("InstallHint" + PackageUtils.getVersionName(), false).apply());
|
||||
} catch (Exception exception) {
|
||||
exception.printStackTrace();
|
||||
edit.putBoolean("InstallHint" + PackageUtils.getVersionName(), false).apply();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user