mirror of
				https://github.com/SimpleMobileTools/Simple-Calendar.git
				synced 2025-06-05 21:59:17 +02:00 
			
		
		
		
	replace DayActivity with dayfragment at third party calendar intent too
This commit is contained in:
		| @@ -677,14 +677,9 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener { | |||||||
|  |  | ||||||
|     private fun openDayAt(timestamp: Long) { |     private fun openDayAt(timestamp: Long) { | ||||||
|         val dayCode = Formatter.getDayCodeFromTS((timestamp / 1000).toInt()) |         val dayCode = Formatter.getDayCodeFromTS((timestamp / 1000).toInt()) | ||||||
|         openDayCode(dayCode) |         calendar_fab.beGone() | ||||||
|     } |         config.storedView = DAILY_VIEW | ||||||
|  |         updateViewPager(dayCode) | ||||||
|     private fun openDayCode(dayCode: String) { |  | ||||||
|         Intent(this, DayActivity::class.java).apply { |  | ||||||
|             putExtra(DAY_CODE, dayCode) |  | ||||||
|             startActivity(this) |  | ||||||
|         } |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     private fun getHolidayRadioItems(): ArrayList<RadioItem> { |     private fun getHolidayRadioItems(): ArrayList<RadioItem> { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user