File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 88 <ImplicitUsings >enable</ImplicitUsings >
99 <ApplicationIcon >Resources\icon_white_32.ico</ApplicationIcon >
1010 <Title >DeepL Translator</Title >
11- <Version >2023.3.15.1 </Version >
11+ <Version >2023.3.15.2 </Version >
1212 <Authors >LAB02 RESEARCH</Authors >
1313 <Description >Front-end client for DeepL translation services.</Description >
1414 </PropertyGroup >
Original file line number Diff line number Diff line change @@ -97,6 +97,9 @@ private async void Initialize()
9797 return ;
9898 }
9999
100+ // optionally re-enable subscription button
101+ if ( ! BtnSubscription . Enabled ) BtnSubscription . Enabled = true ;
102+
100103 // optionally remove current pages
101104 ClearTabPages ( ) ;
102105
Original file line number Diff line number Diff line change @@ -14,10 +14,6 @@ internal static class SubscriptionManager
1414 /// </summary>
1515 internal static void Initialize ( )
1616 {
17- // only free subscriptions atm
18- // todo: monitor pro cost limit
19- if ( ! UsingFreeSubscription ( ) ) return ;
20-
2117 // start monitoring subscription limits
2218 _ = Task . Run ( MonitorLimits ) ;
2319 }
@@ -28,6 +24,9 @@ private static async void MonitorLimits()
2824 {
2925 try
3026 {
27+ // only on free
28+ if ( ! UsingFreeSubscription ( ) ) continue ;
29+
3130 // check if the manager's ready
3231 while ( ! DeepLManager . IsInitialised ) await Task . Delay ( 150 ) ;
3332
You can’t perform that action at this time.
0 commit comments