Skip to content

Commit

Permalink
Merge pull request #470 from mysteriumnetwork/bugfix/Fix-deffered-nod…
Browse files Browse the repository at this point in the history
…e-set-up

Fix deffered node set up
  • Loading branch information
ArtemHryhorovGeniusee authored Nov 19, 2021
2 parents f53ebf1 + 4003343 commit 2397054
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ class SplashActivity : BaseActivity() {
})

lifecycleScope.launchWhenStarted {
analytic.eventTracked.collect {
navigateForward()
analytic.eventTracked.collect { event ->
if (event == AnalyticEvent.STARTUP.eventName) {
navigateForward()
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ class SplashViewModel(useCaseProvider: UseCaseProvider) : ViewModel() {
}
} else {
service?.let {
it.stopNode()
deferredNode
deferredNode.start(it) { exception ->
if (exception != null) {
_nodeStartingError.postValue(exception)
Expand Down
4 changes: 0 additions & 4 deletions android/app/src/main/res/layout/activity_profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/margin_padding_size_medium_large"
android:layout_marginTop="@dimen/margin_padding_size_small"
android:maxLines="2"
android:minLines="2"
android:text="@string/profile_identity_description"
android:textAlignment="center"
android:textColor="@color/manual_connect_value_white"
Expand Down Expand Up @@ -196,8 +194,6 @@
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/margin_padding_size_medium_large"
android:layout_marginTop="@dimen/margin_padding_size_small"
android:maxLines="3"
android:minLines="3"
android:text="@string/profile_keys_description"
android:textAlignment="center"
android:textColor="@color/manual_connect_value_white"
Expand Down
5 changes: 4 additions & 1 deletion android/app/src/main/res/layout/item_menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
<TextView
android:id="@+id/itemTitleTextView"
style="@style/TextAppearance.Headline"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_padding_size_medium"
android:textAlignment="center"
android:gravity="center"
android:layout_marginHorizontal="@dimen/margin_padding_size_small"
android:textColor="@android:color/white"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
Expand All @@ -57,6 +59,7 @@
android:layout_marginTop="@dimen/margin_padding_size_xsmall"
android:layout_marginBottom="@dimen/margin_padding_size_small_medium"
android:textAlignment="center"
android:gravity="center"
android:textColor="@color/menu_subtitle_light_pink"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
Expand Down
2 changes: 1 addition & 1 deletion fastlane/android_version_code
Original file line number Diff line number Diff line change
@@ -1 +1 @@
107116
107117

0 comments on commit 2397054

Please sign in to comment.