You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0f2176b
Browse filesBrowse the repository at this point in the historyBrowse files
Enable WalletConnect on F-Droid and build it with the shared R8 rules
WalletConnect runs through the Core client on every channel, so the
per-channel flag and everything that existed only for it go away: the
channel matrix key, BuildConfig.WALLET_CONNECT, IsWalletConnectEnabled,
the unsupported dialog and gates in the main screen, and the
wallet_connect_available parameter of the Core settings sections.
F-Droid now uses the same R8 rules as the other channels, which removes
proguard-reproducible-rules.pro and shrinks its APK from about 39.4 MB
to 27.8 MB. Two container builds of the change are identical outside
the signing block.
Copy file name to clipboardExpand all lines: android/features/settings/viewmodels/src/main/kotlin/com/gemwallet/android/features/settings/viewmodels/SettingsViewModel.kt
Copy file name to clipboardExpand all lines: android/features/settings/viewmodels/src/test/kotlin/com/gemwallet/android/features/settings/viewmodels/SettingsViewModelTest.kt
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -126,14 +126,14 @@ class SettingsViewModelTest {
126
126
127
127
@Test
128
128
fun`the rows follow core's answer for the loaded wallets`() = runTest(testDispatcher) {
129
-
every { settingsService.sections(any(), any(), any()) } returns listOf(section(GemListRowTitle.WALLETS to GemRowAction.Wallets))
129
+
every { settingsService.sections(any(), any()) } returns listOf(section(GemListRowTitle.WALLETS to GemRowAction.Wallets))
every { settingsService.sections(any(), any(), any()) } returns listOf(section(GemListRowTitle.WALLETS to GemRowAction.Wallets, GemListRowTitle.REWARDS to GemRowAction.Rewards))
136
+
every { settingsService.sections(any(), any()) } returns listOf(section(GemListRowTitle.WALLETS to GemRowAction.Wallets, GemListRowTitle.REWARDS to GemRowAction.Rewards))
Copy file name to clipboardExpand all lines: android/gemcore/src/main/kotlin/com/gemwallet/android/application/wallet_connect/cases/IsWalletConnectEnabled.kt
0 commit comments