show dialog on first launch only
This commit is contained in:
parent
53c81d46fd
commit
f8b7ac4b55
|
@ -204,7 +204,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||||
[NSValueTransformer setValueTransformer: iconTransformer forName: @"ExpandedPathToIconTransformer"];
|
[NSValueTransformer setValueTransformer: iconTransformer forName: @"ExpandedPathToIconTransformer"];
|
||||||
|
|
||||||
//cover our asses
|
//cover our asses
|
||||||
if (YES || [[NSUserDefaults standardUserDefaults] boolForKey: @"WarningLegal"])
|
if ([[NSUserDefaults standardUserDefaults] boolForKey: @"WarningLegal"])
|
||||||
{
|
{
|
||||||
NSAlert * alert = [[NSAlert alloc] init];
|
NSAlert * alert = [[NSAlert alloc] init];
|
||||||
[alert addButtonWithTitle: NSLocalizedString(@"I Accept", "Legal alert -> button")];
|
[alert addButtonWithTitle: NSLocalizedString(@"I Accept", "Legal alert -> button")];
|
||||||
|
|
Loading…
Reference in New Issue