Skip to content

Commit

Permalink
Show if experimental is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
reveny committed Jan 11, 2025
1 parent e1b7e46 commit 4eb5ff7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,
}
binding.Signature.setText(String.format("App Signature : %s", getSignature()));

binding.ExperimentalEnabled.setText(String.format("Experimental Detections: %s", enableExperimental ? "true" : "false"));
return binding.getRoot();
}

Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/layout/fragment_home.xml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,12 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?textAppearanceBodyMedium" />
<com.google.android.material.textview.MaterialTextView
style="@style/Label"
android:id="@+id/ExperimentalEnabled"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?textAppearanceBodyMedium" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>

Expand Down

0 comments on commit 4eb5ff7

Please sign in to comment.