refactor: centralize common strings, paths, and default values into a new Constants class.
This commit is contained in:
@@ -4,7 +4,7 @@ namespace Toak.Core;
|
||||
|
||||
public class StateTracker : IRecordingStateTracker
|
||||
{
|
||||
private readonly string StateFilePath = Path.Combine(Path.GetTempPath(), "toak_state.pid");
|
||||
private readonly string StateFilePath = Constants.Paths.StateFile;
|
||||
|
||||
public bool IsRecording()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user