mirror of
				https://github.com/SimpleMobileTools/Simple-Draw.git
				synced 2025-06-05 21:59:17 +02:00 
			
		
		
		
	updating commons, kotlin
This commit is contained in:
		| @@ -56,6 +56,6 @@ android { | ||||
| } | ||||
|  | ||||
| dependencies { | ||||
|     implementation 'com.github.SimpleMobileTools:Simple-Commons:f7575dcaa1' | ||||
|     implementation 'com.github.SimpleMobileTools:Simple-Commons:085b497ed0' | ||||
|     implementation "androidx.print:print:1.0.0" | ||||
| } | ||||
|   | ||||
| @@ -318,7 +318,7 @@ class MainActivity : SimpleActivity(), CanvasListener { | ||||
|  | ||||
|     private fun changeBackgroundClicked() { | ||||
|         val oldColor = (my_canvas.background as ColorDrawable).color | ||||
|         ColorPickerDialog(this, oldColor, showRecentColors = true) { wasPositivePressed, color -> | ||||
|         ColorPickerDialog(this, oldColor) { wasPositivePressed, color -> | ||||
|             if (wasPositivePressed) { | ||||
|                 config.canvasBackgroundColor = color | ||||
|                 setBackgroundColor(color) | ||||
| @@ -479,7 +479,7 @@ class MainActivity : SimpleActivity(), CanvasListener { | ||||
|     } | ||||
|  | ||||
|     private fun pickColor() { | ||||
|         ColorPickerDialog(this, color, showRecentColors = true) { wasPositivePressed, color -> | ||||
|         ColorPickerDialog(this, color) { wasPositivePressed, color -> | ||||
|             if (wasPositivePressed) { | ||||
|                 setColor(color) | ||||
|             } | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| // Top-level build file where you can add configuration options common to all sub-projects/modules. | ||||
|  | ||||
| buildscript { | ||||
|     ext.kotlin_version = '1.4.32' | ||||
|     ext.kotlin_version = '1.5.30' | ||||
|  | ||||
|     repositories { | ||||
|         google() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user