Skip to content

Commit

Permalink
Assembly v 7.3.1 (15.05.24)
Browse files Browse the repository at this point in the history
  • Loading branch information
adslbarxatov committed May 14, 2024
1 parent 6294a5f commit b0206a7
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 23 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: '7.3'
TAG: '7.3.1'

steps:
# Проверка состава репозитория (без анализа, как может показаться)
Expand Down
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 7.3_:
_Changes for v 7.3.1_:
- Windows: application retargeted to `.NET Framework 4.8.1`;
- `Android`: background service code has been reworked, a number of compatibility issues with `Android 13` have been fixed;
- `Android`: app permissions checker has been rewritten;
Expand Down
Binary file added .release/TablepediaNotifier.apk
Binary file not shown.
Binary file modified .release/UniNotifier.apk
Binary file not shown.
Binary file modified .release/UniNotifier.exe
Binary file not shown.
18 changes: 9 additions & 9 deletions src/SettingsForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public SettingsForm (NotificationsSet Notifications, uint UpdatingFrequencyStep,
NotificationsList.SelectedIndex = 0;

// Запуск
ProgramDescription.ShowTips (NSTipTypes.StartupTip);
ProgramDescription.ShowTip (NSTipTypes.StartupTip);
this.ShowDialog ();
}

Expand Down Expand Up @@ -116,7 +116,7 @@ private void SettingsForm_FormClosing (object sender, FormClosingEventArgs e)
RDGenerics.SaveWindowDimensions (this);

// Закрытие окна
ProgramDescription.ShowTips (NSTipTypes.ServiceLaunchTip);
ProgramDescription.ShowTip (NSTipTypes.ServiceLaunchTip);
}

// Загрузка значений в поля
Expand All @@ -126,7 +126,7 @@ private void NotificationsList_Select (object sender, EventArgs e)
if (NotificationsList.SelectedIndex < 0)
return;
else if (NotificationsList.SelectedIndex != 0)
ProgramDescription.ShowTips (NSTipTypes.CurrentNotButton);
ProgramDescription.ShowTip (NSTipTypes.CurrentNotButton);

// Загрузка
int i = NotificationsList.SelectedIndex;
Expand All @@ -151,7 +151,7 @@ private void NotificationsList_Select (object sender, EventArgs e)
private void BAdd_Click (object sender, EventArgs e)
{
// Добавление
ProgramDescription.ShowTips (NSTipTypes.AddButton);
ProgramDescription.ShowTip (NSTipTypes.AddButton);
UpdateItem (-1);

// Обновление кнопок
Expand All @@ -160,7 +160,7 @@ private void BAdd_Click (object sender, EventArgs e)

private void BUpdate_Click (object sender, EventArgs e)
{
ProgramDescription.ShowTips (NSTipTypes.ApplyButton);
ProgramDescription.ShowTip (NSTipTypes.ApplyButton);
UpdateItem (NotificationsList.SelectedIndex);
}

Expand Down Expand Up @@ -232,7 +232,7 @@ private void UpdateItem (int ItemNumber)
private void BDelete_Click (object sender, EventArgs e)
{
// Контроль
ProgramDescription.ShowTips (NSTipTypes.DeleteButton);
ProgramDescription.ShowTip (NSTipTypes.DeleteButton);
if (NotificationsList.SelectedIndex < 0)
{
RDGenerics.LocalizedMessageBox (RDMessageTypes.Warning_Center, "DeleteLineNotSpecified");
Expand Down Expand Up @@ -285,14 +285,14 @@ private void LanguageCombo_SelectedIndexChanged (object sender, EventArgs e)
// Подсказка по полю Occurence
private void OccurrenceField_Click (object sender, EventArgs e)
{
ProgramDescription.ShowTips (NSTipTypes.OccurenceTip);
ProgramDescription.ShowTip (NSTipTypes.OccurenceTip);
}

// Выгрузка настроек в буфер обмена
private void ShareSettings_Click (object sender, EventArgs e)
{
// Подсказка
ProgramDescription.ShowTips (NSTipTypes.ShareSettings);
ProgramDescription.ShowTip (NSTipTypes.ShareSettings);

// Выбор варианта выгрузки
switch (RDGenerics.MessageBox (RDMessageTypes.Question_Left, RDLocale.GetText ("ShareVariant"),
Expand Down Expand Up @@ -409,7 +409,7 @@ private void NotWizard_Click (object sender, EventArgs e)
private void ComparatorFlag_CheckedChanged (object sender, EventArgs e)
{
if (ComparatorFlag.Checked)
ProgramDescription.ShowTips (NSTipTypes.Threshold);
ProgramDescription.ShowTip (NSTipTypes.Threshold);

ComparatorType.Enabled = ComparatorValue.Enabled = MisfitsFlag.Enabled = ComparatorFlag.Checked;
}
Expand Down
5 changes: 3 additions & 2 deletions src/UniNotifierForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -323,12 +323,13 @@ private void ShowSettings (object sender, EventArgs e)
// Переход на страницу сообщества
private void GoToLink (object sender, EventArgs e)
{
ProgramDescription.ShowTips (NSTipTypes.GoToButton);
ProgramDescription.ShowTip (NSTipTypes.GoToButton);
RDGenerics.RunURL (ns.Notifications[NamesCombo.SelectedIndex].Link);
this.Close ();

/*try
{
Process.Start (ns.Notifications[NamesCombo.SelectedIndex].Link);
this.Close ();
}
catch { }*/
}
Expand Down
2 changes: 1 addition & 1 deletion src/android/AndroidManifest.G.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.RD_AAOW.UniNotifier"
android:installLocation="internalOnly" android:versionCode="600709" android:versionName="7.3">
android:installLocation="internalOnly" android:versionCode="600710" android:versionName="7.3.1">

<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="33" />

Expand Down
2 changes: 1 addition & 1 deletion src/android/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public App (RDAppStartupFlags Flags)
}

// Не работают файловые операции
if (!Flags.HasFlag (RDAppStartupFlags.CanReadFiles) ||
else if (!Flags.HasFlag (RDAppStartupFlags.CanReadFiles) ||
!Flags.HasFlag (RDAppStartupFlags.CanWriteFiles))
{
allowServiceTip = AndroidSupport.ApplyLabelSettings (settingsPage, "AllowStartTip",
Expand Down
16 changes: 8 additions & 8 deletions src/android/MainActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ protected override void OnCreate (Bundle savedInstanceState)

// Для Android 12 и выше запуск службы возможен только здесь
if (flags.HasFlag (RDAppStartupFlags.CanShowNotifications))
if (!AndroidSupport.AllowServiceToStart || !AndroidSupport.IsForegroundStartableFromResumeEvent)
{
if (AndroidSupport.IsForegroundAvailable)
StartForegroundService (mainService);
else
StartService (mainService);
}
/*if (!AndroidSupport.AllowServiceToStart || !AndroidSupport.IsForegroundStartableFromResumeEvent)*/
{
if (AndroidSupport.IsForegroundAvailable)
StartForegroundService (mainService);
else
StartService (mainService);
}

// Запуск
if (AndroidSupport.KeepScreenOn)
Expand Down Expand Up @@ -321,7 +321,7 @@ private async void TimerTick ()
defaultChannelID : urgentChannelID);
notBuilder.SetColor (ProgramDescription.NSet.HasUrgentNotifications ? urgentColor : defaultColor);

// Формирование сообщения
// Формирование сообщения
notMessage:
notBuilder.SetContentText (msg);
notTextStyle.BigText (msg);
Expand Down

0 comments on commit b0206a7

Please sign in to comment.