Skip to content

Commit

Permalink
Merge branch 'master' into toggle-checkboxes-in-view-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-niedermann committed Jan 2, 2020
2 parents b55b04f + 8cee3a7 commit e815d6b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 14 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ android {
applicationId "it.niedermann.owncloud.notes"
minSdkVersion 14
targetSdkVersion 28
versionCode 61
versionName "2.3.0"
versionCode 62
versionName "2.3.1"
// vectorDrawables.useSupportLibrary = true
}
buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import android.content.Context;

import androidx.core.content.ContextCompat;
import androidx.core.content.res.ResourcesCompat;

import com.yydcdut.rxmarkdown.RxMDConfiguration;
Expand All @@ -23,28 +22,23 @@ public class MarkDownUtil {
* @return RxMDConfiguration
*/
public static Builder getMarkDownConfiguration(Context context) {
return new RxMDConfiguration.Builder(context)
.setUnOrderListColor(ContextCompat.getColor(context, R.color.fg_default))
.setCodeBgColor(ContextCompat.getColor(context, R.color.fg_default_high))
.setHeader2RelativeSize(1.35f)
.setHeader3RelativeSize(1.25f)
.setHeader4RelativeSize(1.15f)
.setHeader5RelativeSize(1.1f)
.setHeader6RelativeSize(1.05f)
.setHorizontalRulesHeight(2)
.setLinkFontColor(ContextCompat.getColor(context, R.color.primary));
return getMarkDownConfiguration(context, Notes.getAppTheme(context));
}

public static Builder getMarkDownConfiguration(Context context, Boolean darkTheme) {
return new RxMDConfiguration.Builder(context)
.setUnOrderListColor(ResourcesCompat.getColor(context.getResources(),
darkTheme ? R.color.widget_fg_dark_theme : R.color.widget_fg_default, null))
darkTheme ? R.color.widget_fg_dark_theme : R.color.widget_fg_default, null))
.setHeader2RelativeSize(1.35f)
.setHeader3RelativeSize(1.25f)
.setHeader4RelativeSize(1.15f)
.setHeader5RelativeSize(1.1f)
.setHeader6RelativeSize(1.05f)
.setHorizontalRulesHeight(2)
.setTodoColor(ResourcesCompat.getColor(context.getResources(),
Notes.getAppTheme(context) ? R.color.widget_fg_dark_theme : R.color.widget_fg_default, null))
.setTodoDoneColor(ResourcesCompat.getColor(context.getResources(),
Notes.getAppTheme(context) ? R.color.widget_fg_dark_theme : R.color.widget_fg_default, null))
.setLinkFontColor(ResourcesCompat.getColor(context.getResources(), R.color.primary, null));
}
}
Binary file modified fastlane/metadata/android/de-DE/images/phoneScreenshots/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/62.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Enhance exception handling when pulling notes from server

Requires at least Files app¹ version 3.9.0
¹ https://github.com/nextcloud/android
Empty file.
Binary file modified fastlane/metadata/android/en-US/images/phoneScreenshots/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e815d6b

Please sign in to comment.