From c45847ecd2f447e6f48c30f8506cbce2fa49bdb2 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 21 Jan 2024 15:31:06 +0900 Subject: [PATCH] =?UTF-8?q?NavigationComponent=E5=BB=83=E6=AD=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nem/lacerta/component/viewer/ViewerMainActivity.java | 6 ++---- .../viewer/src/main/res/layout/activity_viewer_main.xml | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerMainActivity.java b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerMainActivity.java index acd6d6a8..e6fcdb43 100644 --- a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerMainActivity.java +++ b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerMainActivity.java @@ -25,15 +25,13 @@ import one.nem.lacerta.utils.LacertaLogger; @AndroidEntryPoint public class ViewerMainActivity extends AppCompatActivity { + @Inject LacertaLogger logger; @Inject - public ViewerMainActivity(LacertaLogger logger) { - this.logger = logger; - logger.debug(TAG, "ViewerMainActivity created"); + public ViewerMainActivity() { } - // Variables private static final String TAG = "ViewerMainActivity"; String documentId; diff --git a/component/viewer/src/main/res/layout/activity_viewer_main.xml b/component/viewer/src/main/res/layout/activity_viewer_main.xml index 816439b5..73290603 100644 --- a/component/viewer/src/main/res/layout/activity_viewer_main.xml +++ b/component/viewer/src/main/res/layout/activity_viewer_main.xml @@ -9,15 +9,13 @@ + app:layout_constraintTop_toTopOf="parent"/> \ No newline at end of file