forked from signalapp/Signal-Android
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Reorganised cells * Clipping content * Simplifying Cell and leaving responsibility to modifier and content * Fixing animations Also fixing compose copy that wasn't set up properly... * Debug menu Added a debug menu It can be accessed from the settings page or via an app shortcut (from the app icon) * Finalising the debug menu We can now switch environments between mainnet and testnet * Update app/src/main/java/org/thoughtcrime/securesms/debugmenu/DebugMenu.kt Co-authored-by: AL-Session <[email protected]> --------- Co-authored-by: AL-Session <[email protected]>
- Loading branch information
1 parent
bfbe4a8
commit 1393335
Showing
29 changed files
with
766 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
app/src/main/java/org/thoughtcrime/securesms/debugmenu/DebugActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.thoughtcrime.securesms.debugmenu | ||
|
||
import android.os.Bundle | ||
import androidx.appcompat.app.AppCompatActivity | ||
import dagger.hilt.android.AndroidEntryPoint | ||
import org.thoughtcrime.securesms.ui.setComposeContent | ||
|
||
|
||
@AndroidEntryPoint | ||
class DebugActivity : AppCompatActivity() { | ||
|
||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
|
||
setComposeContent { | ||
DebugMenuScreen( | ||
onClose = { finish() } | ||
) | ||
} | ||
} | ||
} |
Oops, something went wrong.