Skip to content

Commit

Permalink
Make reset to default negative
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Mar 20, 2024
1 parent de4e089 commit 242363d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import com.ramcosta.composedestinations.navigation.DestinationsNavigator
import com.ramcosta.composedestinations.navigation.EmptyDestinationsNavigator
import com.ramcosta.composedestinations.spec.DestinationStyle
import net.mullvad.mullvadvpn.R
import net.mullvad.mullvadvpn.compose.button.NegativeButton
import net.mullvad.mullvadvpn.compose.button.PrimaryButton
import net.mullvad.mullvadvpn.compose.textfield.MtuTextField
import net.mullvad.mullvadvpn.compose.util.LaunchedEffectCollect
Expand Down Expand Up @@ -120,7 +121,7 @@ fun MtuDialog(
)

if (mtuInitial != null) {
PrimaryButton(
NegativeButton(
modifier = Modifier.fillMaxWidth(),
text = stringResource(R.string.reset_to_default_button),
onClick = onResetMtu
Expand Down

0 comments on commit 242363d

Please sign in to comment.