Example #1
0
        private void OnNotificationClosed(bool trackInactiveTime)
        {
            var endTime = trackInactiveTime ? DateTimeOffset.Now : _lastTimeStamp;

            _viewModel.FinishActiveIntervalAt(endTime);

            _lastTimeStamp = DateTimeOffset.Now;
        }