View Code? Open in Web Editor
NEW
A platform to share information and materials about Leaf Note.
leafnote-community's Introduction
I'm an engineer:
🔭 I’m currently working on my Apps:
LeafNote : A private Markdown and note App for Android. You can try it on GooglePlay Store or CoolAPK .
AnySecret : A password and privacy manager App for iPhone (more platforms will be supported latter). You can try it on Apple Store .
One Habit : Habit, Pomodoro and Check-in, An App helps you cultivate a good habit.
英语汪 : An app to help Chinese learn english. It could translate words and sentences.
🌱 I’m currently learning iOS development.
📱 My open suorce Apps:
MarkNote : An open source markdown note-taking application for Android.
OmniList : An open source TODO App for Android.
leafnote-community's People
leafnote-community's Issues
The issue I am having is that the sync button is asking me to enable notifications. And when I press the button "To enable notifications" the according settings are opened. BUT notifications are disabled and the switch buttons to enable the settings are disabled (so the settings would not let me enable notifications for this app)
Because I had very similar behaviour in my app, my assumption is that you are targeting Android 33 but have not actually implemented the new notification runtime permission :)
val navBarHeight = getNavigationBarHeight(context!! )? : 150f .dp()
val root = activity?.window?.decorView
root?.viewTreeObserver?.addOnGlobalLayoutListener { performLayoutChange(root, navBarHeight) }
private fun performLayoutChange (root : View , navBarHeight : Int ) {
// fix 2021-10-11 to avoid NPE crash.
if (postContainer == null || disallowPostHide) return
val visibleRect = Rect ()
root.getWindowVisibleDisplayFrame(visibleRect)
val hitRect = Rect ()
root.getHitRect(hitRect)
val coverHeight: Int = hitRect.bottom - visibleRect.bottom
Log .d(" PublishProgramFragment" , " onCreateView: $coverHeight " )
// fix 2021-10-25 存在个别手机计算有无,比如华为 P20 上面,coverHeight 和 navBarHeight
// 相差一像素导致底部发布按钮没有展示(可能是系统 API 计算精度问题)。
// 这里增加一个 5dp,防止此类问题发生。另外增加了一个兜底逻辑。
if (coverHeight > navBarHeight+ 5f .dp()) {
postContainer?.visibility = View .GONE
} else {
postContainer.postDelayed({
postContainer?.visibility = View .VISIBLE
}, 30 )
}
}
Be nice to export to html... For wordpress.
剛剛重設了平板,忘記原先綁定的帳號
現在無法恢復高級版的功能
這是我當時購買高級功能的 mail
不曉得是否可以用來協助我還原高級功能?
左側欄位中「雲同步」,顯示成「云同步」
在文件中,確實使用的是繁體的「雲」,而非簡體中文的「云」。
(手機使用的是免費版本)