Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1c5a800 authored by Charlotte Lu's avatar Charlotte Lu Committed by Android (Google) Code Review
Browse files

Merge "Telephony Issue: Apn config mmsc should start with http but is 啊." into main

parents 7f5d1171 1eed0354
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ import com.android.settingslib.spa.framework.theme.SettingsTheme
fun SettingsOutlinedTextField(
    value: String,
    label: String,
    errorMessage: String? = null,
    singleLine: Boolean = true,
    enabled: Boolean = true,
    onTextChange: (String) -> Unit,
@@ -49,6 +50,12 @@ fun SettingsOutlinedTextField(
        },
        singleLine = singleLine,
        enabled = enabled,
        isError = errorMessage != null,
        supportingText = {
            if (errorMessage != null) {
                Text(text = errorMessage)
            }
        }
    )
}