Add profile
This commit is contained in:
		@@ -33,7 +33,12 @@ class ConfigDao(private val savePath: String) {
 | 
			
		||||
            _config.value?.versionName = BuildConfig.VERSION_NAME
 | 
			
		||||
        } else {
 | 
			
		||||
            _config.value =
 | 
			
		||||
                Config(BuildConfig.DB_VERSION, BuildConfig.VERSION_NAME, BuildConfig.VERSION_CODE)
 | 
			
		||||
                Config(
 | 
			
		||||
                    BuildConfig.DB_VERSION,
 | 
			
		||||
                    BuildConfig.VERSION_NAME,
 | 
			
		||||
                    BuildConfig.VERSION_CODE,
 | 
			
		||||
                    -1
 | 
			
		||||
                )
 | 
			
		||||
            save()
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -119,7 +119,7 @@
 | 
			
		||||
                    <com.google.android.material.textfield.TextInputEditText
 | 
			
		||||
                        android:layout_width="match_parent"
 | 
			
		||||
                        android:layout_height="wrap_content"
 | 
			
		||||
                        android:inputType="textPostalAddress|textCapWords"
 | 
			
		||||
                        android:inputType="number|textCapWords"
 | 
			
		||||
                        android:text="@={viewModel.address}" />
 | 
			
		||||
 | 
			
		||||
                </com.google.android.material.textfield.TextInputLayout>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user