Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
Assembly v 3.5.1 (16.05.24)
Browse files Browse the repository at this point in the history
  • Loading branch information
adslbarxatov committed May 16, 2024
1 parent 79f2436 commit 2f0548b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# Константы, используемые далее по тексту
env:
PROJ: ${{ github.event.repository.name }}
TAG: '3.5'
TAG: '3.5.1'

steps:
# Проверка состава репозитория (без анализа, как может показаться)
Expand Down
Binary file modified .release/EnchantIt.apk
Binary file not shown.
2 changes: 1 addition & 1 deletion .release/Release.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
_Changes for v 3.5_:
_Changes for v 3.5.1_:
- Background service code has been reworked, a number of compatibility issues with Android 13 have been fixed;
- App permissions checker has been rewritten;
- Tips storage has been rewritten (may cause their repeating once more);
Expand Down
2 changes: 1 addition & 1 deletion Changes.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PA detector: changes log

Version 3.5:
Version 3.5.1:
• Background service code has been reworked, a number of compatibility issues with Android 13 have been fixed;
• App permissions checker has been rewritten;
• Tips storage has been rewritten (may cause their repeating once more)
Expand Down
14 changes: 11 additions & 3 deletions src/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -855,14 +855,22 @@ private void SwitchNightMode (object sender, EventArgs e)
// Метод формирует изображение сертификата
private async void CreateCertificate (object sender, EventArgs e)
{
// Контроль разрешений
await Xamarin.Essentials.Permissions.RequestAsync<Xamarin.Essentials.Permissions.StorageWrite> ();
// Защита
if (!flags.HasFlag (RDAppStartupFlags.CanWriteFiles))
{
await AndroidSupport.ShowMessage (RDLocale.GetDefaultText
(RDLDefaultTexts.Message_ReadWritePermission),
RDLocale.GetDefaultText (RDLDefaultTexts.Button_OK));
return;
}

/*await Xamarin.Essentials.Permissions.RequestAsync<Xamarin.Essentials.Permissions.StorageWrite> ();
if (await Xamarin.Essentials.Permissions.CheckStatusAsync<Xamarin.Essentials.Permissions.StorageWrite> () !=
PermissionStatus.Granted)
{
AndroidSupport.ShowBalloon (RDLocale.GetText ("SaveFileFailure"), true);
return;
}
}*/

// Сбор сведений
if (string.IsNullOrWhiteSpace (certName))
Expand Down

0 comments on commit 2f0548b

Please sign in to comment.