mirror of
https://github.com/usatiuk/PomoTime.git
synced 2025-10-28 16:37:49 +01:00
do not show 00:00 when a notification is opened
This commit is contained in:
@@ -109,12 +109,8 @@ namespace PomoTime
|
||||
}
|
||||
}
|
||||
|
||||
void TimerTick()
|
||||
void PlusSecond()
|
||||
{
|
||||
if (!MainViewRunningState.IsRunning)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (MainViewRunningState.SecondsLeft == 0)
|
||||
{
|
||||
MainViewRunningState.SecondsLeft = 59;
|
||||
@@ -169,6 +165,14 @@ namespace PomoTime
|
||||
}
|
||||
SaveLocalState();
|
||||
}
|
||||
void TimerTick()
|
||||
{
|
||||
if (!MainViewRunningState.IsRunning)
|
||||
{
|
||||
return;
|
||||
}
|
||||
PlusSecond();
|
||||
}
|
||||
|
||||
void SchedulePeriodOverNotification()
|
||||
{
|
||||
@@ -353,6 +357,8 @@ namespace PomoTime
|
||||
MainViewRunningState.IsRunning = false;
|
||||
MainViewRunningState.MinutesLeft = 0;
|
||||
MainViewRunningState.SecondsLeft = 0;
|
||||
// Continue onto the next period
|
||||
PlusSecond();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
Publisher="CN=D7EE55C2-4D4B-40F8-8EE5-CC4CEBCE2133"
|
||||
Version="1.0.11.0" />
|
||||
|
||||
<mp:PhoneIdentity PhoneProductId="4d8bddac-8ab7-4c19-b3c7-7b5a27b87594" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||
<mp:PhoneIdentity PhoneProductId="5cd2f65c-5a82-4864-85b9-f4560076f8c8" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||
|
||||
<Properties>
|
||||
<DisplayName>PomoTime</DisplayName>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WindowsXamlEnableOverview>true</WindowsXamlEnableOverview>
|
||||
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
|
||||
<PackageCertificateThumbprint>5805544F843D1A5B2C86CA0F6C5FB14BC9E5DA32</PackageCertificateThumbprint>
|
||||
<PackageCertificateThumbprint>1C5388D3142860F83259175BA4936CF2756B9AFC</PackageCertificateThumbprint>
|
||||
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
|
||||
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
|
||||
<AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
|
||||
@@ -26,6 +26,8 @@
|
||||
<AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
|
||||
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
|
||||
<AppxBundle>Always</AppxBundle>
|
||||
<PackageCertificateKeyFile>
|
||||
</PackageCertificateKeyFile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
@@ -198,6 +200,7 @@
|
||||
<Content Include="Assets\Square44x44Logo.scale-200.png" />
|
||||
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
|
||||
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
|
||||
<None Include="PomoTime_TemporaryKey.pfx" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
|
||||
Reference in New Issue
Block a user