NTP-8836 Static Nudge Analytics and UI fixes (#14125)
This commit is contained in:
@@ -17,7 +17,6 @@ import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.foundation.layout.size
|
||||
import androidx.compose.foundation.layout.wrapContentHeight
|
||||
import androidx.compose.foundation.layout.wrapContentSize
|
||||
import androidx.compose.foundation.shape.CircleShape
|
||||
import androidx.compose.foundation.shape.RoundedCornerShape
|
||||
import androidx.compose.material3.ButtonDefaults
|
||||
import androidx.compose.runtime.Composable
|
||||
@@ -27,6 +26,7 @@ import androidx.compose.ui.graphics.Color
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.unit.dp
|
||||
import androidx.compose.ui.unit.sp
|
||||
import com.navi.elex.atoms.ElexImage
|
||||
import com.navi.elex.atoms.ElexText
|
||||
import com.navi.elex.font.FontWeightEnum
|
||||
import com.navi.elex.molecules.ElexButtonWithText
|
||||
@@ -56,11 +56,11 @@ fun NotificationSettingBottomSheetContent(onDismiss: () -> Unit, onClick: () ->
|
||||
horizontalArrangement = Arrangement.Start,
|
||||
verticalAlignment = Alignment.Top
|
||||
) {
|
||||
Row(
|
||||
modifier = Modifier.size(40.dp).background(Color(0xFFF5F5F5), shape = CircleShape),
|
||||
horizontalArrangement = Arrangement.Start,
|
||||
verticalAlignment = Alignment.CenterVertically
|
||||
) {}
|
||||
ElexImage(
|
||||
iconCode = com.navi.naviwidgets.R.drawable.navi_icon,
|
||||
contentDescription = "Navi Logo",
|
||||
modifier = Modifier.size(40.dp)
|
||||
)
|
||||
|
||||
Column(
|
||||
modifier = Modifier.wrapContentSize().padding(8.dp, 0.dp, 0.dp, 0.dp),
|
||||
|
||||
@@ -18,6 +18,7 @@ import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.foundation.layout.width
|
||||
import androidx.compose.foundation.shape.RoundedCornerShape
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.LaunchedEffect
|
||||
import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.draw.clip
|
||||
@@ -46,6 +47,7 @@ fun ProfileAppUpdateWidget(
|
||||
appUpdateAnalytics: NaviAnalytics.InAppUpdate =
|
||||
NaviAnalytics.naviAnalytics.InAppUpdate(PROFILE_SCREEN)
|
||||
) {
|
||||
LaunchedEffect(Unit) { appUpdateAnalytics.appUpdateNudgeViewEvent() }
|
||||
Row(
|
||||
horizontalArrangement = Arrangement.SpaceBetween,
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
|
||||
@@ -525,7 +525,7 @@
|
||||
<string name="contacts_permission_rational">To enable seamless payments to connections</string>
|
||||
<string name="allow_notifications">Allow notifications</string>
|
||||
<string name="app_notifications">App notifications</string>
|
||||
<string name="to_enable_notifications">To enable notification\n\nPhone settings > Apps > Navi > Permissions > notifications</string>
|
||||
<string name="to_enable_notifications">To enable notification\n\nPhone settings > Apps > Navi > Permissions > Notifications</string>
|
||||
<string name="unable_to_load">Unable to load</string>
|
||||
<string name="something_went_wrong_without_exclamation">Something went wrong</string>
|
||||
<string name="please_try_again_later">Please try again later</string>
|
||||
|
||||
Reference in New Issue
Block a user