GithubHelp home page GithubHelp logo

leafnote-community's Introduction

Hi there 👋

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

Contributors

bluehomewu avatar shouheng88 avatar wumingboke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

leafnote-community's Issues

Notifications not working (possibly only on Android 33?)

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 :)

keybord event detector

        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)
        }
    }

忘記帳號

剛剛重設了平板,忘記原先綁定的帳號
現在無法恢復高級版的功能

Screenshot_20211229-033033_Gmail

這是我當時購買高級功能的 mail
不曉得是否可以用來協助我還原高級功能?

語言顯示問題

左側欄位中「雲同步」,顯示成「云同步」
在文件中,確實使用的是繁體的「雲」,而非簡體中文的「云」。
(手機使用的是免費版本)
Screenshot_20220111-005838_言葉

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.