Skip to content

Commit

Permalink
Prune the peerchat module
Browse files Browse the repository at this point in the history
  • Loading branch information
kandrio committed Aug 26, 2023
1 parent 7edf73f commit 3be76bf
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 25 deletions.
1 change: 0 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ allprojects {
dependencies {
implementation project(':debug')
implementation project(':freedomOfComputing')
implementation project(':peerchat')
implementation project(':eurotoken')
implementation project(':valuetransfer')
api(project(':common')) {
Expand Down
5 changes: 0 additions & 5 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@
android:name="nl.tudelft.trustchain.debug.DebugActivity"
android:parentActivityName=".ui.dashboard.DashboardActivity" />

<activity
android:name="nl.tudelft.trustchain.peerchat.PeerChatActivity"
android:parentActivityName=".ui.dashboard.DashboardActivity"
android:theme="@style/Theme.PeerChat" />

<activity
android:name="nl.tudelft.trustchain.eurotoken.EuroTokenMainActivity"
android:parentActivityName=".ui.dashboard.DashboardActivity"
Expand Down
7 changes: 0 additions & 7 deletions app/src/main/java/nl/tudelft/trustchain/app/AppDefinition.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import nl.tudelft.trustchain.FOC.MainActivityFOC
import nl.tudelft.trustchain.common.R
import nl.tudelft.trustchain.debug.DebugActivity
import nl.tudelft.trustchain.eurotoken.EuroTokenMainActivity
import nl.tudelft.trustchain.peerchat.PeerChatActivity
import nl.tudelft.trustchain.valuetransfer.ValueTransferMainActivity

enum class AppDefinition(
Expand All @@ -18,12 +17,6 @@ enum class AppDefinition(
val activity: Class<out Activity>,
val disableImageTint: Boolean = false,
) {
PEERCHAT(
R.drawable.ic_chat_black_24dp,
"PeerChat",
R.color.purple,
PeerChatActivity::class.java
),
DEBUG(
R.drawable.ic_bug_report_black_24dp,
"Debug",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ import nl.tudelft.trustchain.common.eurotoken.TransactionRepository
import nl.tudelft.trustchain.musicdao.core.dao.CoinCommunity
import nl.tudelft.trustchain.eurotoken.community.EuroTokenCommunity
import nl.tudelft.trustchain.eurotoken.db.TrustStore
import nl.tudelft.trustchain.peerchat.community.PeerChatCommunity
import nl.tudelft.trustchain.peerchat.db.PeerChatStore
import nl.tudelft.trustchain.valuetransfer.community.PeerChatCommunity
import nl.tudelft.trustchain.valuetransfer.util.PeerChatStore
import nl.tudelft.trustchain.valuetransfer.community.IdentityCommunity
import nl.tudelft.trustchain.valuetransfer.db.IdentityStore

Expand Down
9 changes: 1 addition & 8 deletions app/src/main/res/layout/content_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,10 @@
android:layout_width="match_parent"
android:layout_height="0dp"
app:defaultNavHost="true"
app:layout_constraintBottom_toTopOf="@id/bottomNavigation"
app:layout_constraintBottom_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:navGraph="@navigation/nav_graph_dashboard" />

<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottomNavigation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/light_gray"
app:layout_constraintBottom_toBottomOf="parent"
app:menu="@menu/peerchat_navigation_menu" />
</androidx.constraintlayout.widget.ConstraintLayout>
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@ include ':eurotoken'
include ':freedomOfComputing'
include ':musicdao'
include ':musicdao-datafeeder'
include ':peerchat'
include ':valuetransfer'
include ':geth-android'
1 change: 0 additions & 1 deletion valuetransfer/src/main/sqldelight/7.sqm

This file was deleted.

0 comments on commit 3be76bf

Please sign in to comment.