]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/java/com/stoutner/privacybrowser/dialogs/CreateBookmarkDialog.java
Allow specifying any font size. https://redmine.stoutner.com/issues/504
[PrivacyBrowserAndroid.git] / app / src / main / java / com / stoutner / privacybrowser / dialogs / CreateBookmarkDialog.java
index a524d266c02c0e34c07591b3f0904ae7442d521b..4da0f14eb73c0e13094dd17c1a42c01e1161840f 100644 (file)
@@ -52,11 +52,11 @@ public class CreateBookmarkDialog extends DialogFragment {
     // The create bookmark listener is initialized in `onAttach()` and used in `onCreateDialog()`.
     private CreateBookmarkListener createBookmarkListener;
 
-    public void onAttach(Context context) {
+    public void onAttach(@NonNull Context context) {
         // Run the default commands.
         super.onAttach(context);
 
-        // Get a handle for `CreateBookmarkListener` from the launching context.
+        // Get a handle for the create bookmark listener from the launching context.
         createBookmarkListener = (CreateBookmarkListener) context;
     }