From 7372280ef203b0afdeb40d38f53a1a567427d309 Mon Sep 17 00:00:00 2001 From: Eric85710 Date: Sun, 3 May 2026 14:31:31 +0800 Subject: [PATCH] auth to server-V42 --- .../setting_detail_page/detail_UI/setting_Profile_Page.kt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/example/login_v3/home/setting/setting_detail_page/detail_UI/setting_Profile_Page.kt b/app/src/main/java/com/example/login_v3/home/setting/setting_detail_page/detail_UI/setting_Profile_Page.kt index 1454acf..9f783a3 100644 --- a/app/src/main/java/com/example/login_v3/home/setting/setting_detail_page/detail_UI/setting_Profile_Page.kt +++ b/app/src/main/java/com/example/login_v3/home/setting/setting_detail_page/detail_UI/setting_Profile_Page.kt @@ -275,6 +275,9 @@ fun Loaded_setting_profile_page( if (showDialog) { AlertDialog( onDismissRequest = { showDialog = false }, + containerColor = MaterialTheme.colorScheme.primary, + titleContentColor = MaterialTheme.colorScheme.secondary, + textContentColor = MaterialTheme.colorScheme.onBackground, title = { Text("Edit Bio") }, text = { TextField( @@ -292,12 +295,12 @@ fun Loaded_setting_profile_page( viewModel.updateBio(tempBio) // 呼叫你寫好的 API 邏輯 showDialog = false }) { - Text("Save", color = main_orange) + Text("Save", color = MaterialTheme.colorScheme.onBackground) } }, dismissButton = { TextButton(onClick = { showDialog = false }) { - Text("Cancel", color = main_orange) + Text("Cancel", color = MaterialTheme.colorScheme.onBackground) } } )