OSDN Git Service

Change when encrypting, ask password twice.
[tombo/Tombo.git] / iOS / Tombo / Tombo / SinglePasswordDialog.m
index 75b1d30..c8c1d39 100644 (file)
@@ -6,9 +6,9 @@
 
 @synthesize password=_password;
 
-- (id)initWithDefault {
-    return [self initWithTitle:@"Password" message:@"Please input password" delegate:self
-             cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil];
+- (id)initWithTitle:(NSString *)title message:(NSString *)message {
+    return [self initWithTitle:title message:message
+                      delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil];
 }
 
 - (NSString *)showAndWait {