[PR #77] [MERGED] refactor: tweak tab index saving #851

Closed
opened 2026-04-13 13:54:46 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pd4d10/git-touch/pull/77
Author: @pd4d10
Created: 5/1/2020
Status: Merged
Merged: 5/1/2020
Merged by: @pd4d10

Base: masterHead: patch-1


📝 Commits (1)

  • 29a19fb refactor: tweak tab index saving

📊 Changes

5 files changed (+53 additions, -144 deletions)

View changed files

📝 lib/home.dart (+31 -75)
📝 lib/models/auth.dart (+17 -1)
📝 lib/models/theme.dart (+0 -62)
📝 lib/router.dart (+2 -2)
📝 lib/utils/utils.dart (+3 -4)

📄 Description

  • Move activeTab variable to auth model
  • Drop CupertinoTabController and use auth.activeTab as the single source of truth
  • Move setActiveTab method from build to account select handler
  • Comment GhGistsScreen temporarily since it is not submitted yet

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pd4d10/git-touch/pull/77 **Author:** [@pd4d10](https://github.com/pd4d10) **Created:** 5/1/2020 **Status:** ✅ Merged **Merged:** 5/1/2020 **Merged by:** [@pd4d10](https://github.com/pd4d10) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`29a19fb`](https://github.com/pd4d10/git-touch/commit/29a19fb740b7e54f98f5ac4b87b34ff480b7d75b) refactor: tweak tab index saving ### 📊 Changes **5 files changed** (+53 additions, -144 deletions) <details> <summary>View changed files</summary> 📝 `lib/home.dart` (+31 -75) 📝 `lib/models/auth.dart` (+17 -1) 📝 `lib/models/theme.dart` (+0 -62) 📝 `lib/router.dart` (+2 -2) 📝 `lib/utils/utils.dart` (+3 -4) </details> ### 📄 Description * Move `activeTab` variable to `auth` model * Drop `CupertinoTabController` and use `auth.activeTab` as the single source of truth * Move `setActiveTab` method from `build` to account select handler * Comment `GhGistsScreen` temporarily since it is not submitted yet --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 13:54:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/git-touch#851